Skip to content

Commit

Permalink
[spec] review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Nov 27, 2023
1 parent 55c0d67 commit 588218d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec.emu
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ contributors: Jordan Harband

IdentityEscape[UnicodeMode] ::
[+UnicodeMode] SyntaxCharacter
[+UnicodeMode] `/` <ins>`,` `-` `=` `<` `>` `/` `#` `&` `!` `%` `:` `;` `@` `~` `'` `"`</ins>
[+UnicodeMode] `/` <ins>`,` `-` `=` `<` `>` `#` `&` `!` `%` `:` `;` `@` `~` `'` `"` `\``</ins>
<ins>[+UnicodeMode] WhiteSpace</ins>
[~UnicodeMode] SourceCharacter but not UnicodeIDContinue

Expand All @@ -41,7 +41,7 @@ contributors: Jordan Harband
<ins>
<emu-clause id="sec-regexp.escape" number="2">
<h1>RegExp.escape ( _S_ )</h1>
<p>This method takes a string and returns a version of it with all control characters escaped. It escapes characters that would otherwise be treated by the regular expressions engine as special meta characters using an escape sequence character.</p>
<p>This method takes a string and returns a similar string in which each character that is potentially special in a regular expression |Pattern| has been replaced by an escape sequence representing that character.</p>
<p>It performs the following steps when called:</p>
<p>
The phrase "<dfn id="the ASCII punctuators that need escaping">the ASCII punctuators that need escaping</dfn>"
Expand Down

0 comments on commit 588218d

Please sign in to comment.