Skip to content

Commit 2423998

Browse files
committed
Swift: Remove 'only'.
1 parent c937230 commit 2423998

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

swift/ql/src/queries/Security/CWE-020/MissingRegexAnchor.qhelp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
If you need to write a regular expression to match
6363
multiple hosts, you should include an anchor for all of the
6464
alternatives. For example, the regular expression
65-
<code>/^www\.example\.com|beta\.example\.com/</code> will only match the host
65+
<code>/^www\.example\.com|beta\.example\.com/</code> will match the host
6666
<code>evil.beta.example.com</code>, because the regular expression is parsed
6767
as <code>/(^www\.example\.com)|(beta\.example\.com)/</code>.
6868

0 commit comments

Comments
 (0)