diff --git a/spec.html b/spec.html index 810ee3fef41..101f78eaf2e 100644 --- a/spec.html +++ b/spec.html @@ -30345,9 +30345,9 @@

Patterns

PatternCharacter[?U] InvalidBracedQuantifier :: - `{` DecimalDigits `}` - `{` DecimalDigits `,` `}` - `{` DecimalDigits `,` DecimalDigits `}` + `{` DecimalDigits[~Sep] `}` + `{` DecimalDigits[~Sep] `,` `}` + `{` DecimalDigits[~Sep] `,` DecimalDigits[~Sep] `}` PatternCharacter[U] :: [+U] SourceCharacter but not SyntaxCharacter @@ -30390,7 +30390,6 @@

Group Specifiers

UnicodeTrailSurrogate :: > any Unicode code point in the inclusive range 0xDC00 to 0xDFFF -

Character Classes

@@ -30440,7 +30439,7 @@

Escapes

[+U] DecimalEscape [~U] DecimalEscape [> but only if the CapturingGroupNumber of |DecimalEscape| is <= _NcapturingParens_] CharacterClassEscape[?U] - CharacterEscape[~U, ?N] + CharacterEscape[?U, ?N] [+N] `k` GroupName[?U] DecimalEscape :: @@ -30526,20 +30525,19 @@

Escapes

SourceCharacterIdentityEscape[N] :: [~N] SourceCharacter but not `c` [+N] SourceCharacter but not one of `c` or `k` -

Patterns that use the following productions are allowed, but deprecated:

- Term :: QuantifiableAssertion Quantifier + Term ::! QuantifiableAssertion Quantifier - Atom :: `\` [lookahead == `c`] + Atom ::! `\` [lookahead == `c`] - ClassAtomNoDash :: `\` [lookahead == `c`] + ClassAtomNoDash ::! `\` [lookahead == `c`] - ClassEscape :: `c` ClassControlLetter + ClassEscape ::! `c` ClassControlLetter - CharacterEscape :: LegacyOctalEscapeSequence + CharacterEscape ::! LegacyOctalEscapeSequence
@@ -30549,9 +30547,6 @@

Static Semantics for Patterns

Static Semantics: Early Errors

- -

This section is amended in .

-
Pattern :: Disjunction - Atom :: InvalidBracedQuantifier + Atom ::! InvalidBracedQuantifier - RegExpIdentifierStart[U] :: `\` RegExpUnicodeEscapeSequence[+U] + RegExpIdentifierStart :: `\` RegExpUnicodeEscapeSequence - RegExpIdentifierPart[U] :: `\` RegExpUnicodeEscapeSequence[+U] + RegExpIdentifierPart :: `\` RegExpUnicodeEscapeSequence - AtomEscape :: DecimalEscape + AtomEscape ::! DecimalEscape - AtomEscape :: `k` GroupName + AtomEscape ::! `k` GroupName - RegExpIdentifierStart[U] :: UnicodeLeadSurrogate UnicodeTrailSurrogate + RegExpIdentifierStart :: UnicodeLeadSurrogate UnicodeTrailSurrogate - RegExpIdentifierPart[U] :: UnicodeLeadSurrogate UnicodeTrailSurrogate + RegExpIdentifierPart :: UnicodeLeadSurrogate UnicodeTrailSurrogate