Function fuzzy_search_limited

Source
pub fn fuzzy_search_limited(
    key: &str,
    lst: &[impl AsRef<str>],
    max_distance: Option<usize>,
) -> Option<String>
Expand description

Fuzzy string matching using the Levenshtein distance algorithm, with an option to limit matching up to some distance.