Skip to content
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

Merged
merged 3 commits into from
Feb 12, 2022
Merged

Conversation

SeriousBug
Copy link
Contributor

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.

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.
@SeriousBug
Copy link
Contributor Author

Hey @leo @leerob, sorry to bother you and apologies if you are not the right folks to ping. Could someone please give this PR a review when possible? I'd love to get this merged within this week if we can. Again, please let me know if there are any changes needed to get it merged.

@meikidd
Copy link

meikidd commented Nov 19, 2021

Thanks a lot @SeriousBug . I would be great if this PR can get merged

@meikidd
Copy link

meikidd commented Nov 23, 2021

Hi @leo @leerob, it would be great if you can take a look at this PR, really appreciate it. And sorry to bother if you are not the ones to ping.

@SeriousBug
Copy link
Contributor Author

@meikidd @dferber90

We forked the repo and applied this fix here: https://www.npmjs.com/package/@dendronhq/title
Repo: https://github.com/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.

@meikidd
Copy link

meikidd commented Dec 7, 2021

Thanks @SeriousBug.

@leo @sergiodxa @leerob Sorry to pin you again, could you have a check on this PR, thanks a lot!

@meikidd
Copy link

meikidd commented Feb 10, 2022

Hi @leerob @leo @sergiodxa, could we have this pr merged if possible, it will fix #33 and #63, really appreciate it.

@leerob leerob merged commit 152ece1 into vercel:main Feb 12, 2022
@meikidd
Copy link

meikidd commented Feb 13, 2022

Thank you so much @dferber90 @leerob

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

'ñ' causes a capitalization bug
4 participants