Skip to main content

fuzzy_matches

Function fuzzy_matches 

Source
pub fn fuzzy_matches(query: &str, candidate: &str) -> bool
Expand description

Returns true when every character of query appears in order within candidate (case-insensitive). An empty query matches everything.