diff --git a/spec.html b/spec.html index 1372807ab7..119ebd3331 100644 --- a/spec.html +++ b/spec.html @@ -37120,15 +37120,15 @@

Atom :: `(?` RegularExpressionModifiers `:` Disjunction `)` 1. Let _addModifiers_ be the source text matched by |RegularExpressionModifiers|. - 1. Let _removeModifiers_ be the empty String. - 1. Let _modifiedRer_ be UpdateModifiers(_rer_, CodePointsToString(_addModifiers_), _removeModifiers_). + 1. Let _removeModifiers_ be an empty List. + 1. Let _modifiedRer_ be UpdateModifiers(_rer_, _addModifiers_, _removeModifiers_). 1. Return CompileSubpattern of |Disjunction| with arguments _modifiedRer_ and _direction_. Atom :: `(?` RegularExpressionModifiers `-` RegularExpressionModifiers `:` Disjunction `)` 1. Let _addModifiers_ be the source text matched by the first |RegularExpressionModifiers|. 1. Let _removeModifiers_ be the source text matched by the second |RegularExpressionModifiers|. - 1. Let _modifiedRer_ be UpdateModifiers(_rer_, CodePointsToString(_addModifiers_), CodePointsToString(_removeModifiers_)). + 1. Let _modifiedRer_ be UpdateModifiers(_rer_, _addModifiers_, _removeModifiers_). 1. Return CompileSubpattern of |Disjunction| with arguments _modifiedRer_ and _direction_. @@ -37282,8 +37282,8 @@

UpdateModifiers ( _rer_: a RegExp Record, - _add_: a String, - _remove_: a String, + _add_: a sequence of Unicode code points, + _remove_: a sequence of Unicode code points, ): a RegExp Record