struct FuzzyMatch::Full
- FuzzyMatch::Full
- Struct
- Value
- Object
Defined in:
fuzzy_match/full.crConstant Summary
-
CAMEL_BONUS =
30
-
FIRST_LETTER_BONUS =
15
-
LEADING_LETTER_PENALTY =
-5
-
MAX_LEADING_LETTER_PENALTY =
-15
-
SEPARATOR_BONUS =
30
-
SEPARATORS =
['_', ' ', '-']
-
SEQUENTIAL_BONUS =
15
-
UNMATCHED_LETTER_PENALTY =
-1
Constructors
Instance Method Summary
- #has_matched : Bool
- #has_matched=(has_matched : Bool)
- #is_camelcase_letter(current_index, char)
- #last_match_index : Int32
- #last_match_index=(last_match_index : Int32)
- #matched_indexes : Array(Int32)
- #matched_indexes=(matched_indexes : Array(Int32))
- #matches? : Bool
- #matches_all_letters : Bool
- #matches_all_letters=(matches_all_letters : Bool)
- #pattern : String
- #pattern=(pattern : String)
-
#post_separator_chars
characters after a separator
- #score : Int32
- #score=(score : Int32)
- #str : String
- #str=(str : String)