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

PCRE2 no longer implements \w correctly #113

Open
Aloso opened this issue Nov 26, 2024 · 0 comments
Open

PCRE2 no longer implements \w correctly #113

Aloso opened this issue Nov 26, 2024 · 0 comments
Labels
bug Something isn't working C-compat Compatibility between regex flavors

Comments

@Aloso
Copy link
Member

Aloso commented Nov 26, 2024

The behavior of \w (and \b) changed: It now includes all code points in the N general category, not just Nd

See https://github.com/PCRE2Project/pcre2/blob/master/ChangeLog

What should we do? Should we polyfill it? This is unlikely to be a problem for many people.

@Aloso Aloso changed the title PCRE2 PCRE2 recent changes Nov 26, 2024
@Aloso Aloso changed the title PCRE2 recent changes PCRE2 no longer implements \w correctly Nov 30, 2024
@Aloso Aloso added bug Something isn't working C-compat Compatibility between regex flavors labels Nov 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working C-compat Compatibility between regex flavors
Projects
None yet
Development

No branches or pull requests

1 participant