Skip to content

Commit 15c49ee

Browse files
geoffw0MathiasVP
andauthored
Update swift/ql/lib/codeql/swift/regex/Regex.qll
Co-authored-by: Mathias Vorreiter Pedersen <[email protected]>
1 parent 02fbb47 commit 15c49ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

swift/ql/lib/codeql/swift/regex/Regex.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ private class ParsedStringRegex extends RegexPatternSource {
5757

5858
override DataFlow::Node getAParse() { result = use }
5959

60-
override RegExpTerm getRegExpTerm() { result.getRegExp() = this.asExpr() }
60+
override RegExpTerm getRegExpTerm() { result.getRegExp() = expr }
6161
}
6262

6363
/**

0 commit comments

Comments
 (0)