-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Normative: allow named backreferences without u
flag in core grammar
#2436
Merged
ljharb
merged 1 commit into
tc39:main
from
mysticatea:move-two-passes-parsing-to-annexb
Feb 15, 2023
Merged
Normative: allow named backreferences without u
flag in core grammar
#2436
ljharb
merged 1 commit into
tc39:main
from
mysticatea:move-two-passes-parsing-to-annexb
Feb 15, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
michaelficarra
added
normative change
Affects behavior required to correctly evaluate some ECMAScript source text
needs consensus
This needs committee consensus before it can be eligible to be merged.
labels
Jun 23, 2021
ljharb
force-pushed
the
master
branch
3 times, most recently
from
June 29, 2021 02:21
3d0c24c
to
7a79833
Compare
michaelficarra
approved these changes
Jan 11, 2023
bakkot
approved these changes
Jan 11, 2023
michaelficarra
removed
the
needs consensus
This needs committee consensus before it can be eligible to be merged.
label
Jan 11, 2023
syg
approved these changes
Feb 15, 2023
syg
added
the
ready to merge
Editors believe this PR needs no further reviews, and is ready to land.
label
Feb 15, 2023
ljharb
force-pushed
the
move-two-passes-parsing-to-annexb
branch
from
February 15, 2023 23:16
7579276
to
f1d2851
Compare
ljharb
pushed a commit
to mysticatea/ecma262
that referenced
this pull request
Feb 15, 2023
ljharb
pushed a commit
to ljharb/ecma262
that referenced
this pull request
Feb 15, 2023
ljharb
force-pushed
the
move-two-passes-parsing-to-annexb
branch
from
February 15, 2023 23:19
f1d2851
to
a06d0a7
Compare
ljharb
force-pushed
the
move-two-passes-parsing-to-annexb
branch
from
February 15, 2023 23:23
a06d0a7
to
e7aba9a
Compare
ljharb
pushed a commit
to jmdyck/ecma262
that referenced
this pull request
Feb 17, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
has consensus
This has committee consensus.
normative change
Affects behavior required to correctly evaluate some ECMAScript source text
ready to merge
Editors believe this PR needs no further reviews, and is ready to land.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR fixes #2434.
In the core grammar, named backreferences have been syntax errors if no
u
flag. For example,/(?<foo>A)\k<foo>/
is a syntax error unless using Annex B.This PR fixes that by moving two passes parsing to Annex B.