Closed rap2hpoutre closed 1 year ago
there's a static utility function uFuzzy.latinize(stringsArr)
that you can use to pre-process your haystack once before doing any searches, and preprocess your needle on each search.
it doesnt cover all diacritics, but does have the most common ones:
i should probably allow it to also accept a single string so there's no additional ceremony of wrapping the needle in an array and unwrapping the result.
In french, accent and diacritics may or may not be used by users. It should be considered. Is there an option for this?