2 ms·
there are many ways to be fuzzy, so it's quite subjective. uFuzzy can be made tolerant to extra insertions in the matches between/around the specified needle c
by leeoniya 4y ago
there are many ways to be fuzzy, so it's quite subjective.
uFuzzy can be made tolerant to extra insertions in the matches between/around the specified needle chars, and can also handle out of order terms. those together cover a surprising amount of common cases.
but it's not fuzzy in unlimited ways, such as letter omissions in the match (a superset of substitutions) like a spellcheck or levenshtein distance would be...but extreme tolerance often produces garbage results, too.
actually, might be able to handle single-char-per-term omissions as well:
https://github.com/leeoniya/uFuzzy/issues/2#issuecomment-1264363220 https://github.com/leeoniya/uFuzzy/issues/2#issuecomment-126...