Skip to main content

fuzzy_match

Function fuzzy_match 

Source
pub fn fuzzy_match(s: &str, query: &str) -> bool
Expand description

Subsequence-style fuzzy match: every char of query must appear in s in order, case-insensitively. Mirrors the Go version’s behaviour but is Unicode-safe rather than byte-based.