Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

RegExp v flag tracking issue #228

Open
bnoordhuis opened this issue Dec 20, 2023 · 0 comments
Open

RegExp v flag tracking issue #228

bnoordhuis opened this issue Dec 20, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@bnoordhuis
Copy link
Contributor

https://github.com/tc39/proposal-regexp-v-flag is a number of things that I'll break out into separate pull requests:

  1. the flag and patterns that turn into early SyntaxErrors, ex. /[a-]/v (accepted by u but not v)

  2. properties of strings, that is, code point sequences; ex. /\p{RGI_Emoji}/v - what https://github.com/tc39/proposal-regexp-unicode-sequence-properties was advocating before it got merged into the regexp-v-flag proposal

  3. set union and difference, ex. /\p{Format}&&\p{Control}/v and /[\p{Decimal_Number}--[0-9]]/v (also nested character classes)

@bnoordhuis bnoordhuis added the enhancement New feature or request label Dec 20, 2023
bnoordhuis added a commit to bnoordhuis/quickjs that referenced this issue Dec 20, 2023
This commit implements the flag itself and teaches the regex engine to
reject previously accepted patterns when in unicodeSets mode.

Refs: quickjs-ng#228
bnoordhuis added a commit that referenced this issue Dec 21, 2023
This commit implements the flag itself and teaches the regex engine to
reject previously accepted patterns when in unicodeSets mode.

Refs: #228
bluesky950520 pushed a commit to bluesky950520/quickjs that referenced this issue Mar 14, 2025
This commit implements the flag itself and teaches the regex engine to
reject previously accepted patterns when in unicodeSets mode.

Refs: quickjs-ng/quickjs#228
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant