From ebf8d42b7b8ab49cbc845d03cbdfab3af69e3776 Mon Sep 17 00:00:00 2001 From: Ron Buckton <ron.buckton@microsoft.com> Date: Fri, 4 Oct 2024 17:03:51 -0400 Subject: [PATCH] Change early error for modifiers --- spec.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec.html b/spec.html index 1372807ab7..9d6c284405 100644 --- a/spec.html +++ b/spec.html @@ -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.