Skip to content

Commit

Permalink
Editorial: Escape * in emu-val contents
Browse files Browse the repository at this point in the history
As seen in e.g. Encode
> Let _alwaysUnescaped_ be the string-concatenation of the ASCII word characters and *"-.!~\*'()"*.
  • Loading branch information
gibson042 authored Mar 28, 2024
1 parent 263eb02 commit cf1b21a
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 string-concatenation of *"(){}[]|,.?*+-^$=<>/#&!%:;@~'`"*, the code unit 0x0022 (QUOTATION MARK), and the code unit 0x005C (REVERSE SOLIDUS).
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 cf1b21a

Please sign in to comment.