Skip to content

Commit

Permalink
Change early error for modifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
rbuckton committed Oct 4, 2024
1 parent 374b90b commit ebf8d42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -35921,7 +35921,7 @@ <h1>Static Semantics: Early Errors</h1>
<emu-grammar>Atom :: `(?` RegularExpressionModifiers `-` RegularExpressionModifiers `:` Disjunction `)`</emu-grammar>
<ul>
<li>
It is a Syntax Error if the source text matched by the first |RegularExpressionModifiers| and the source text matched by the second |RegularExpressionModifiers| are both empty.
It is a Syntax Error if the source text matched by the second |RegularExpressionModifiers| is empty.
</li>
<li>
It is a Syntax Error if the source text matched by the first |RegularExpressionModifiers| contains the same code point more than once.
Expand Down

0 comments on commit ebf8d42

Please sign in to comment.