Skip to content

Commit

Permalink
[spec] address #58 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Mar 27, 2024
1 parent 29b08c3 commit c95db79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec.emu
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ contributors: Jordan Harband

<emu-alg>
1. Let _codePoints_ be a new empty List.
1. Let _punctuators_ be the following String, which consists of every ASCII punctuator except U+005F (LOW LINE): *"(){}[]|,.?\*+-^$=<>\/#&!%:;@~'"`"*.
1. Let _punctuators_ be the string-concatenation of *"(){}[]|,.?*+-^$=<>/#&!%:;@~'`"*, the code unit 0x0022 (QUOTATION MARK), and the code unit 0x005C (REVERSE SOLIDUS).
1. Let _toEscape_ be StringToCodePoints(_punctuators_).
1. If _toEscape_ contains _c_ or _c_ is matched by |WhiteSpace|, then
1. Append the code point U+005C (REVERSE SOLIDUS) to _codePoints_.
Expand Down

0 comments on commit c95db79

Please sign in to comment.