JS: Address comments from doc review

This commit is contained in:
Asger Feldthaus
2020-01-07 10:27:46 +00:00
parent 66a16d21a9
commit d55d5cc4ed
2 changed files with 3 additions and 3 deletions

View File

@@ -7,8 +7,8 @@
<p>
There are several built-in JavaScript functions that search for a regular expression match within a string,
such as <code>RegExp.prototype.test</code> and <code>String.prototype.search</code>.
If the regular expression is not anchored, the regular expression does not need to match the whole string;
it only needs to match a substring.
If the regular expression is not anchored, it only needs to match a substring of the input
and won't necessarily match the whole string.
</p>
<p>