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 96dece3 commit 5dea539Copy full SHA for 5dea539
swift/ql/lib/codeql/swift/regex/internal/RegexTracking.qll
@@ -36,9 +36,7 @@ module StringLiteralUseFlow = DataFlow::Global<StringLiteralUseConfig>;
36
private module RegexUseConfig implements DataFlow::ConfigSig {
37
predicate isSource(DataFlow::Node node) {
38
// creation of the regex
39
- exists(RegexCreation regexCreation |
40
- node = regexCreation
41
- )
+ node instanceof RegexCreation
42
// TODO: track parse mode flags.
43
}
44
0 commit comments