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

Support the RegExp v flag #1006

Open
BenjaminAster opened this issue Dec 25, 2023 · 0 comments
Open

Support the RegExp v flag #1006

BenjaminAster opened this issue Dec 25, 2023 · 0 comments

Comments

@BenjaminAster
Copy link

The RegExp v flag (a.k.a. RegExp.prototype.unicodeSets) is now in the main ECMAScript standard and supported across all modern browsers, but TypeScript/JavaScript syntax highlighting breaks when using it. Supporting it should work similarly to #862.

5. If F contains any code unit other than "d", "g", "i", "m", "s", "u", "v", or "y", or if F contains any code unit more than once, throw a SyntaxError exception.
(see also https://tc39.es/ecma262/multipage/text-processing.html#sec-regexpinitialize)

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

No branches or pull requests

1 participant