Closed kolarski closed 7 months ago
@kolarski While this fixes your concrete problem, it would be far more scalable to switch to xregexp: https://github.com/slevithan/xregexp#unicode, where you have proper "letter" classes.
Agree, probably the best solution
Sadly does not support UTF-8. The problem lies here:
does not seem to work for UTF-8
Here is an example with Cyrilic language (like Russian):
This returns:
Instead should return something like this:
Fix is provided below:
Replace
with
for cyrilic support.