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

.NET doesn't support arbitrary code points (. or C) outside the BMP #89

Open
Tracked by #83
Aloso opened this issue Mar 28, 2023 · 0 comments
Open
Tracked by #83

.NET doesn't support arbitrary code points (. or C) outside the BMP #89

Aloso opened this issue Mar 28, 2023 · 0 comments
Labels
bug Something isn't working C-compat Compatibility between regex flavors

Comments

@Aloso
Copy link
Member

Aloso commented Mar 28, 2023

  • C could be polyfilled as (?:\P{Cs}|\p{IsLowSurrogates}\p{IsHighSurrogates})
  • . could be polyfilled as (?:[^\n\p{Cs}]|\p{IsLowSurrogates}\p{IsHighSurrogates})

Polyfilling is only needed when it isn't repeated, or the repetition has a lower bound > 1 or an upper bound

@Aloso Aloso changed the title .NET doesn't support arbitrary code points ( or ) outside the BMP .NET doesn't support arbitrary code points (. or C) outside the BMP Mar 28, 2023
@Aloso Aloso added bug Something isn't working C-compat Compatibility between regex flavors labels Mar 28, 2023
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