Skip to content

Commit

Permalink
Editorial: add more explanation on match results
Browse files Browse the repository at this point in the history
Co-Authored-By: Michael Ficarra <github@michael.ficarra.me>
  • Loading branch information
susisu and michaelficarra committed Oct 2, 2024
1 parent 9ab85e7 commit b688e11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -34921,7 +34921,7 @@ <h1>String.prototype.match ( _regexp_ )</h1>

<emu-clause id="sec-string.prototype.matchall">
<h1>String.prototype.matchAll ( _regexp_ )</h1>
<p>This method performs a regular expression match of the String representing the *this* value against _regexp_ and returns an iterator. Each iteration result's value is an Array containing the results of the match.</p>
<p>This method performs a regular expression match of the String representing the *this* value against _regexp_ and returns an iterator that yields match results. Each match result is an Array containing the matched portion of the String as the first element, followed by the portions matched by any capturing groups. If the regular expression never matches, the returned iterator does not yield any match results.</p>
<p>It performs the following steps when called:</p>

<emu-alg>
Expand Down

0 comments on commit b688e11

Please sign in to comment.