Skip to main content

fuzzy_match

Function fuzzy_match 

Source
pub fn fuzzy_match(query: &str, target: &str) -> Option<FuzzyMatch>
Expand description

Perform fuzzy matching of a query against a target string

Returns Some(FuzzyMatch) if the query matches, None otherwise. The match is case-insensitive and supports non-contiguous matching.