andrewrk / node-diacritics

remove diacritics from strings ("ascii folding") - Node.js module
MIT License
263 stars 32 forks source link

lowercase u was being replaced by lowecase p #1

Closed rachel-carvalho closed 11 years ago

rachel-carvalho commented 11 years ago

That's it, there was a \u among other unicode characters in the p regex, so any word containing a u would get replaced by a p. I just removed this \u.

andrewrk commented 11 years ago

Thanks!