class Fzy::Match

Overview

A search operation returns an array of Match objects, these objects stores the matching score and the position of matched characters. See Fzy.search

Included Modules

Defined in:

fzy.cr

Instance Method Summary

Instance Method Detail

def <=>(other) #

A match is greater than other if it has a greater score.


[View source]
def positions : Array(Int32) #

Array of size of needle string, containing the position of each needle character into haystack string.


[View source]
def score : Float32 #

Match score.


[View source]
def value : String #

Result of the match.


[View source]