We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c937230 commit 2423998Copy full SHA for 2423998
swift/ql/src/queries/Security/CWE-020/MissingRegexAnchor.qhelp
@@ -62,7 +62,7 @@
62
If you need to write a regular expression to match
63
multiple hosts, you should include an anchor for all of the
64
alternatives. For example, the regular expression
65
- <code>/^www\.example\.com|beta\.example\.com/</code> will only match the host
+ <code>/^www\.example\.com|beta\.example\.com/</code> will match the host
66
<code>evil.beta.example.com</code>, because the regular expression is parsed
67
as <code>/(^www\.example\.com)|(beta\.example\.com)/</code>.
68
0 commit comments