-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix handling of international characters #62
Conversation
The character class `\w` only matches ASCII characters. By replacing it with a more permissive negated set, international (unicode) characters are handled correctly. Added tests for these international characters. All these tests fail without this fix.
Thanks a lot @SeriousBug . I would be great if this PR can get merged |
We forked the repo and applied this fix here: https://www.npmjs.com/package/@dendronhq/title We'll close the fork once this PR is merged, but it's up for anyone who might find it useful in the meantime. |
Thanks @SeriousBug. @leo @sergiodxa @leerob Sorry to pin you again, could you have a check on this PR, thanks a lot! |
Hi @leerob @leo @sergiodxa, could we have this pr merged if possible, it will fix #33 and #63, really appreciate it. |
Thank you so much @dferber90 @leerob |
The character class
\w
only matches ASCII characters. By replacing it with a more permissive negated set, international (unicode) characters are handled correctly.Added tests for these international characters. All these tests fail without this fix.
Fixes #33
Let me know if there's any changes I can do to help this get merged.