Skip to content

Commit

Permalink
Deploying to gh-pages from @ 9c55324 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Oct 12, 2023
1 parent a09bee5 commit 648dd0a
Showing 1 changed file with 50 additions and 2 deletions.
52 changes: 50 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1423,7 +1423,7 @@
});
let sdoMap = JSON.parse(`{}`);
let biblio = JSON.parse(`{"refsByClause":{"sec-regexp.escape":["_ref_0"]},"entries":[{"type":"term","term":"the ASCII punctuators that need escaping","id":"the ASCII punctuators that need escaping","referencingIds":["_ref_0"]},{"type":"clause","id":"sec-regexp.escape","title":"RegExp.escape ( S )","titleHTML":"RegExp.escape ( <var>S</var> )","number":"22.2.5.2"},{"type":"clause","id":"sec-properties-of-the-regexp-constructor","titleHTML":"Properties of the RegExp Constructor","number":"22.2.5"},{"type":"clause","id":"sec-regexp-regular-expression-objects","titleHTML":"RegExp (Regular Expression) Objects","number":"22.2"},{"type":"clause","id":"sec-text-processing","titleHTML":"Text Processing","number":"22"},{"type":"clause","id":"sec-copyright-and-software-license","title":"Copyright & Software License","titleHTML":"Copyright &amp; Software License","number":"A"}]}`);
let biblio = JSON.parse(`{"refsByClause":{"sec-regexp.escape":["_ref_0"]},"entries":[{"type":"production","id":"prod-HexNonSurrogate","name":"HexNonSurrogate"},{"type":"production","id":"prod-IdentityEscape","name":"IdentityEscape"},{"type":"production","id":"prod-DecimalEscape","name":"DecimalEscape"},{"type":"clause","id":"sec-patterns","titleHTML":"Patterns","number":"22.2.1"},{"type":"term","term":"the ASCII punctuators that need escaping","id":"the ASCII punctuators that need escaping","referencingIds":["_ref_0"]},{"type":"clause","id":"sec-regexp.escape","title":"RegExp.escape ( S )","titleHTML":"RegExp.escape ( <var>S</var> )","number":"22.2.5.2"},{"type":"clause","id":"sec-properties-of-the-regexp-constructor","titleHTML":"Properties of the RegExp Constructor","number":"22.2.5"},{"type":"clause","id":"sec-regexp-regular-expression-objects","titleHTML":"RegExp (Regular Expression) Objects","number":"22.2"},{"type":"clause","id":"sec-text-processing","titleHTML":"Text Processing","number":"22"},{"type":"clause","id":"sec-copyright-and-software-license","title":"Copyright & Software License","titleHTML":"Copyright &amp; Software License","number":"A"}]}`);
;let usesMultipage = false</script><style>body {
display: flex;
word-wrap: break-word;
Expand Down Expand Up @@ -2696,14 +2696,62 @@
</ul></div><div id="menu-toggle"><svg xmlns="http://www.w3.org/2000/svg" style="width:100%; height:100%; stroke:currentColor" viewBox="0 0 120 120">
<title>Menu</title>
<path stroke-width="10" stroke-linecap="round" d="M30,60 h60 M30,30 m0,5 h60 M30,90 m0,-5 h60"></path>
</svg></div><div id="menu-spacer" class="menu-spacer"></div><div id="menu"><div id="menu-search"><input type="text" id="menu-search-box" placeholder="Search..."><div id="menu-search-results" class="inactive"></div></div><div id="menu-pins"><div class="menu-pane-header">Pins</div><ul id="menu-pins-list"></ul></div><div class="menu-pane-header">Table of Contents</div><div id="menu-toc"><ol class="toc"><li><span class="item-toggle">◢</span><a href="#sec-text-processing" title="Text Processing"><span class="secnum">22</span> Text Processing</a><ol class="toc"><li><span class="item-toggle">◢</span><a href="#sec-regexp-regular-expression-objects" title="RegExp (Regular Expression) Objects"><span class="secnum">22.2</span> RegExp (Regular Expression) Objects</a><ol class="toc"><li><span class="item-toggle">◢</span><a href="#sec-properties-of-the-regexp-constructor" title="Properties of the RegExp Constructor"><span class="secnum">22.2.5</span> Properties of the RegExp Constructor</a><ol class="toc"><li><span class="item-toggle-none"></span><a href="#sec-regexp.escape" title="RegExp.escape ( S )"><span class="secnum">22.2.5.2</span> RegExp.escape ( <var>S</var> )</a></li></ol></li></ol></li></ol></li><li><span class="item-toggle-none"></span><a href="#sec-copyright-and-software-license" title="Copyright &amp; Software License"><span class="secnum">A</span> Copyright &amp; Software License</a></li></ol></div></div><div id="spec-container"><h1 class="version">Stage 2 Draft / October 11, 2023</h1><h1 class="title">RegExp.escape</h1>
</svg></div><div id="menu-spacer" class="menu-spacer"></div><div id="menu"><div id="menu-search"><input type="text" id="menu-search-box" placeholder="Search..."><div id="menu-search-results" class="inactive"></div></div><div id="menu-pins"><div class="menu-pane-header">Pins</div><ul id="menu-pins-list"></ul></div><div class="menu-pane-header">Table of Contents</div><div id="menu-toc"><ol class="toc"><li><span class="item-toggle">◢</span><a href="#sec-text-processing" title="Text Processing"><span class="secnum">22</span> Text Processing</a><ol class="toc"><li><span class="item-toggle">◢</span><a href="#sec-regexp-regular-expression-objects" title="RegExp (Regular Expression) Objects"><span class="secnum">22.2</span> RegExp (Regular Expression) Objects</a><ol class="toc"><li><span class="item-toggle-none"></span><a href="#sec-patterns" title="Patterns"><span class="secnum">22.2.1</span> Patterns</a></li><li><span class="item-toggle">◢</span><a href="#sec-properties-of-the-regexp-constructor" title="Properties of the RegExp Constructor"><span class="secnum">22.2.5</span> Properties of the RegExp Constructor</a><ol class="toc"><li><span class="item-toggle-none"></span><a href="#sec-regexp.escape" title="RegExp.escape ( S )"><span class="secnum">22.2.5.2</span> RegExp.escape ( <var>S</var> )</a></li></ol></li></ol></li></ol></li><li><span class="item-toggle-none"></span><a href="#sec-copyright-and-software-license" title="Copyright &amp; Software License"><span class="secnum">A</span> Copyright &amp; Software License</a></li></ol></div></div><div id="spec-container"><h1 class="version">Stage 2 Draft / October 12, 2023</h1><h1 class="title">RegExp.escape</h1>
<emu-clause id="sec-text-processing" number="22">
<h1><span class="secnum">22</span> Text Processing</h1>
<emu-clause id="sec-regexp-regular-expression-objects" number="2">
<h1><span class="secnum">22.2</span> RegExp (Regular Expression) Objects</h1>
<emu-clause id="sec-patterns" number="1">
<h1><span class="secnum">22.2.1</span> Patterns</h1>
<h2>Syntax</h2>
<p>Each <code>\u</code> <emu-nt><a href="https://tc39.es/ecma262/#prod-HexTrailSurrogate">HexTrailSurrogate</a></emu-nt> for which the choice of associated <code>u</code> <emu-nt><a href="https://tc39.es/ecma262/#prod-HexLeadSurrogate">HexLeadSurrogate</a></emu-nt> is ambiguous shall be associated with the nearest possible <code>u</code> <emu-nt><a href="https://tc39.es/ecma262/#prod-HexLeadSurrogate">HexLeadSurrogate</a></emu-nt> that would otherwise have no corresponding <code>\u</code> <emu-nt><a href="https://tc39.es/ecma262/#prod-HexTrailSurrogate">HexTrailSurrogate</a></emu-nt>.</p>
<emu-grammar type="definition"><emu-production name="HexNonSurrogate" type="lexical" id="prod-HexNonSurrogate">
<emu-nt><a href="#prod-HexNonSurrogate">HexNonSurrogate</a></emu-nt> <emu-geq>::</emu-geq> <emu-rhs a="dwn60mjo">
<emu-nt><a href="https://tc39.es/ecma262/#prod-Hex4Digits">Hex4Digits</a></emu-nt>
<emu-gmod>but only if the MV of <emu-nt><a href="https://tc39.es/ecma262/#prod-Hex4Digits">Hex4Digits</a></emu-nt> is not in the <emu-xref href="#inclusive-interval"><a href="https://tc39.es/ecma262/#inclusive-interval">inclusive interval</a></emu-xref> from 0xD800 to 0xDFFF</emu-gmod>
</emu-rhs>
</emu-production>
<emu-production name="IdentityEscape" params="UnicodeMode" type="lexical" id="prod-IdentityEscape">
<emu-nt params="UnicodeMode"><a href="#prod-IdentityEscape">IdentityEscape</a><emu-mods><emu-params>[UnicodeMode]</emu-params></emu-mods></emu-nt> <emu-geq>::</emu-geq> <emu-rhs a="_sxoisew" constraints="+UnicodeMode"><emu-constraints>[+UnicodeMode]</emu-constraints>
<emu-nt><a href="https://tc39.es/ecma262/#prod-SyntaxCharacter">SyntaxCharacter</a></emu-nt>
</emu-rhs>
<emu-rhs a="sjw34yso" constraints="+UnicodeMode"><emu-constraints>[+UnicodeMode]</emu-constraints>
<emu-t>/</emu-t>
<ins><emu-t>,</emu-t>
<emu-t>-</emu-t>
<emu-t>=</emu-t>
<emu-t>&lt;</emu-t>
<emu-t>&gt;</emu-t>
<emu-t>/</emu-t>
<emu-t>#</emu-t>
<emu-t>&amp;</emu-t>
<emu-t>!</emu-t>
<emu-t>%</emu-t>
<emu-t>:</emu-t>
<emu-t>;</emu-t>
<emu-t>@</emu-t>
<emu-t>~</emu-t>
<emu-t>'</emu-t>
<emu-t>"</emu-t></ins>
</emu-rhs>
<emu-rhs a="kxdkcwd_" constraints="~UnicodeMode"><emu-constraints>[~UnicodeMode]</emu-constraints>
<emu-nt><a href="https://tc39.es/ecma262/#prod-SourceCharacter">SourceCharacter</a></emu-nt> <emu-gmod>but not <emu-nt><a href="https://tc39.es/ecma262/#prod-UnicodeIDContinue">UnicodeIDContinue</a></emu-nt></emu-gmod>
</emu-rhs>
</emu-production>
<emu-production name="DecimalEscape" type="lexical" id="prod-DecimalEscape">
<emu-nt><a href="#prod-DecimalEscape">DecimalEscape</a></emu-nt> <emu-geq>::</emu-geq> <emu-rhs a="1ajrj4io">
<emu-nt><a href="https://tc39.es/ecma262/#prod-NonZeroDigit">NonZeroDigit</a></emu-nt>
<emu-nt params="~Sep" optional=""><a href="https://tc39.es/ecma262/#prod-DecimalDigits">DecimalDigits</a><emu-mods><emu-params>[~Sep]</emu-params><emu-opt>opt</emu-opt></emu-mods></emu-nt>
<emu-gann>[lookahead ∉ <emu-nt><a href="https://tc39.es/ecma262/#prod-DecimalDigit">DecimalDigit</a></emu-nt>]</emu-gann>
</emu-rhs>
</emu-production>
</emu-grammar>
</emu-clause>
<emu-clause id="sec-properties-of-the-regexp-constructor" number="5">
<h1><span class="secnum">22.2.5</span> Properties of the RegExp Constructor</h1>
Expand Down

0 comments on commit 648dd0a

Please sign in to comment.