3 ms·
It doesn't seem to handle missing spaces https://leeoniya.github.io/uFuzzy/demos/compare.html?libs=uFuzzy,fuzzysort,QuickScore&search=lanoel https://leeoniya.g
by trinovantes 4y ago
It doesn't seem to handle missing spaces
https://leeoniya.github.io/uFuzzy/demos/compare.html?libs=uFuzzy,fuzzysort,QuickScore&search=lanoel https://leeoniya.github.io/uFuzzy/demos/compare.html?libs=uF...
- leeoniya 4y agoset intraMax to something big, or Infinity (delete the 0). this will allow arbitrary amount of junk between each char
- trinovantes 4y agoI see some results when intraMax is set to Inf but it doesn't seem to pick up "Llanowar Elves" despite the other libs hitting it first or second. If I narrow the list to only mtg_16000, I get 0 results.
- leeoniya 4y agoah yes you should expand the allowable arbitray chars within terms to include a space intraChars: [a-z\d ] (probably not ideal for perf) you can leave intraMax at 1 in this case you dont need either of these if you have camelcase LlanowarElves but will for lowercase elves: Llanowarelves