Skip to content

Commit d56caa2

Browse files
authored
Merge pull request #8547 from RasmusWL/regexstring-imports
Python: Import framework-modeling in `regex.qll`
2 parents c115c68 + d51aaf2 commit d56caa2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

python/ql/lib/semmle/python/regex.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import python
22
deprecated import semmle.python.objects.ObjectInternal as OI
33
private import semmle.python.ApiGraphs
4+
// Need to import since frameworks can extend the abstract `RegexString`
5+
private import semmle.python.Frameworks
46

57
/**
68
* Gets the positional argument index containing the regular expression flags for the member of the

0 commit comments

Comments
 (0)