Hi all,
Currently, Fuse doesn't support searching through non-ASCII characters. For instance searching with stro on str枚mberg only matches str. This could be changed by
stro -> stro)str枚mberg -> stromberg)match [0,3])str枚mberg + match [0,3])This code seems to have a pretty complete transliteration table (see char_map object):
https://github.com/pid/speakingurl/blob/master/lib/speakingurl.js
Not that I have a need for it at the moment, just bringing it up as a suggestion :)
"string".normalize('NFD').replace(/[\u0300-\u036f]/g, ""); would do it as part of a lexer
Any news about this feature ? Will it be implemented soon ? Thanks
Lots of people need it...
Would appreciate the inclusion of this feature. BTW awesome library!
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days
Hi! Any news about this feature?
I think this should solve the issue:
https://github.com/krisk/Fuse/issues/415
It uses the diacritics library.
Most helpful comment
"string".normalize('NFD').replace(/[\u0300-\u036f]/g, "");would do it as part of a lexer