Skip to content

Commit

Permalink
allow all escapes in group names
Browse files Browse the repository at this point in the history
  • Loading branch information
bakkot committed Apr 1, 2020
1 parent 1f46ad2 commit 77e0f8b
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -30810,7 +30810,7 @@ <h2>Syntax</h2>
`.`
`\` AtomEscape[?U, ?N]
CharacterClass[?U]
`(` GroupSpecifier[?U] Disjunction[?U, ?N] `)`
`(` GroupSpecifier Disjunction[?U, ?N] `)`
`(` `?` `:` Disjunction[?U, ?N] `)`

SyntaxCharacter :: one of
Expand Down Expand Up @@ -30840,27 +30840,27 @@ <h2>Syntax</h2>
`a` `b` `c` `d` `e` `f` `g` `h` `i` `j` `k` `l` `m` `n` `o` `p` `q` `r` `s` `t` `u` `v` `w` `x` `y` `z`
`A` `B` `C` `D` `E` `F` `G` `H` `I` `J` `K` `L` `M` `N` `O` `P` `Q` `R` `S` `T` `U` `V` `W` `X` `Y` `Z`

GroupSpecifier[U] ::
GroupSpecifier ::
[empty]
`?` GroupName[?U]
`?` GroupName

GroupName[U] ::
`&lt;` RegExpIdentifierName[?U] `&gt;`
GroupName ::
`&lt;` RegExpIdentifierName `&gt;`

RegExpIdentifierName[U] ::
RegExpIdentifierStart[?U]
RegExpIdentifierName[?U] RegExpIdentifierPart[?U]
RegExpIdentifierName ::
RegExpIdentifierStart
RegExpIdentifierName RegExpIdentifierPart

RegExpIdentifierStart[U] ::
RegExpIdentifierStart ::
UnicodeIDStart
`$`
`_`
`\` RegExpUnicodeEscapeSequence[?U]
`\` RegExpUnicodeEscapeSequence[+U]

RegExpIdentifierPart[U] ::
RegExpIdentifierPart ::
UnicodeIDContinue
`$`
`\` RegExpUnicodeEscapeSequence[?U]
`\` RegExpUnicodeEscapeSequence[+U]
&lt;ZWNJ&gt;
&lt;ZWJ&gt;

Expand Down

0 comments on commit 77e0f8b

Please sign in to comment.