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 bfd852a commit 785175eCopy full SHA for 785175e
swift/ql/lib/codeql/swift/regex/Regex.qll
@@ -520,5 +520,5 @@ private class NSStringCompareOptionsRegexEval extends RegexEval instanceof NSStr
520
result = this.(NSStringCompareOptionsPotentialRegexEval).getAnOptionsInput()
521
}
522
523
- override predicate isUsedAsReplace() { this.getStaticTarget().getName().matches(["replac%"]) }
+ override predicate isUsedAsReplace() { this.getStaticTarget().getName().matches("replac%") }
524
0 commit comments