fuzzy_matcher::clangd

Function fuzzy_match

Source
pub fn fuzzy_match(line: &str, pattern: &str) -> Option<i64>
Expand description

fuzzy match line with pattern, returning the score(the larger the better) on match