Skip to content

Commit

Permalink
Remove CodePointsToString in calls to UpdateModifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
rbuckton committed Jan 8, 2025
1 parent 374b90b commit 478b815
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -37120,15 +37120,15 @@ <h1>
<emu-grammar>Atom :: `(?` RegularExpressionModifiers `:` Disjunction `)`</emu-grammar>
<emu-alg>
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_.
</emu-alg>
<emu-grammar>Atom :: `(?` RegularExpressionModifiers `-` RegularExpressionModifiers `:` Disjunction `)`</emu-grammar>
<emu-alg>
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_.
</emu-alg>

Expand Down Expand Up @@ -37282,8 +37282,8 @@ <h1>
<h1>
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
</h1>
<dl class="header">
Expand Down

0 comments on commit 478b815

Please sign in to comment.