panzerdp / voca

The ultimate JavaScript string library
https://vocajs.pages.dev
MIT License
3.61k stars 137 forks source link

RFC: Fuzzy compare function #14

Closed dar5hak closed 7 years ago

dar5hak commented 7 years ago

Hi there!

Would you be interested in a function that matches two strings while ignoring diacritics and non-alphanumeric characters? Something similar to https://github.com/dar5hak/equalsish?

Example

v.fuzzyCompare("Some String", "somestring") === true

If so, I would be glad to send a pull request.

panzerdp commented 7 years ago

Hi @dar5hak! Thanks for the proposal.

At the moment I am not interested in adding comparator functions.

Thank you!