Skip to content

Commit

Permalink
Normative: allow named capture groups in Annex B non-u regex grammar (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
bakkot authored and ljharb committed Apr 20, 2022
1 parent deb2e45 commit 918e0e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -46979,7 +46979,7 @@ <h2>Syntax</h2>
`\` AtomEscape[~UnicodeMode, ?N]
`\` [lookahead == `c`]
CharacterClass[~UnicodeMode]
`(` Disjunction[~UnicodeMode, ?N] `)`
`(` GroupSpecifier[~UnicodeMode] Disjunction[~UnicodeMode, ?N] `)`
`(` `?` `:` Disjunction[~UnicodeMode, ?N] `)`
InvalidBracedQuantifier
ExtendedPatternCharacter
Expand Down Expand Up @@ -47069,7 +47069,7 @@ <h1>Static Semantics: Early Errors</h1>

<emu-annex id="sec-countleftcapturingparens-annexb">
<h1>Static Semantics: CountLeftCapturingParensWithin and CountLeftCapturingParensBefore</h1>
<p>In the definitions of CountLeftCapturingParensWithin and CountLeftCapturingParensBefore, references to &ldquo;<emu-grammar>Atom :: `(` GroupSpecifier Disjunction `)`</emu-grammar> &rdquo; are to be interpreted as meaning &ldquo;<emu-grammar>Atom :: `(` GroupSpecifier Disjunction `)`</emu-grammar> &rdquo; or &ldquo;<emu-grammar>ExtendedAtom :: `(` Disjunction `)`</emu-grammar> &rdquo;.</p>
<p>In the definitions of CountLeftCapturingParensWithin and CountLeftCapturingParensBefore, references to &ldquo;<emu-grammar>Atom :: `(` GroupSpecifier Disjunction `)`</emu-grammar> &rdquo; are to be interpreted as meaning &ldquo;<emu-grammar>Atom :: `(` GroupSpecifier Disjunction `)`</emu-grammar> &rdquo; or &ldquo;<emu-grammar>ExtendedAtom :: `(` GroupSpecifier Disjunction `)`</emu-grammar> &rdquo;.</p>
</emu-annex>

<emu-annex id="sec-patterns-static-semantics-is-character-class-annexb">
Expand Down

0 comments on commit 918e0e9

Please sign in to comment.