-
Notifications
You must be signed in to change notification settings - Fork 23
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
Mark invalid values for \p{...} with flag u as errors #7
Comments
regexpu-core uses unicode-match-property-ecmascript and unicode-match-property-value-ecmascript. I think you'll want the same packages. Note that they deal with character properties only, not properties of strings. The
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using flag
u
, Regex Colorizer (as of v1.0.0) uses a simplistic regex to identify Unicode properties with\p{...}
and\P{...}
. It would be better to flag any values that are not actually supported by ECMAScript.@mathiasbynens has a bunch of great, related libraries. See:
Not yet sure which of these are the most relevant.
The text was updated successfully, but these errors were encountered: