-
Notifications
You must be signed in to change notification settings - Fork 13
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
Support u
flag for JavaScript
#7
Comments
Update to 1.2.0 (js only) takes some care of this issue, but I am not sure if something else is needed. |
|
Something like |
Value of Browsers that supports the unicode flag seems to support String.fromCodePoint. A polyfill may be required if this library is intended to work on a JavaScript engine that doesn't support it. |
|
When the unicode flag is not set, anything like See doc for more syntax details. |
new upload of v.1.2.0
Fixed
Fixed
Fixed
Only on a major update, not anytime soon |
|
The unicode flag changes a behavior that an incomplete unicode sequence like Also a character group like Not sure if you are going to implement it. |
Fixed
|
Maybe we can implement a quick support that simply creates a corresponding node with the provided value (that is, without checking whether it's really valid)? The syntax can be found in the doc. So that developers can use the library to analyze a regex with such syntax without error. |
The code:
throws an error as the
\u{XXXXX}
is not supported when theu
flag is used.The text was updated successfully, but these errors were encountered: