JavaScript: Remove extra backslashes in MissingRegExpAnchor.qhelp.

This commit is contained in:
Max Schaefer
2019-07-29 15:23:09 +01:00
committed by GitHub
parent 3dfc697585
commit d3016593e4

View File

@@ -62,9 +62,9 @@
A related mistake is to write a regular expression with
multiple alternatives, but to only include an anchor for one of the
alternatives. As an example, the regular expression
<code>/^www\\.example\\.com|beta\\.example\\.com/</code> will match the host
<code>/^www\.example\.com|beta\.example\.com/</code> will match the host
<code>evil.beta.example.com</code> because the regular expression is parsed
as <code>/(^www\\.example\\.com)|(beta\\.example\\.com)/</code>
as <code>/(^www\.example\.com)|(beta\.example\.com)/</code>
</p>
</example>