Skip to content

Commit d51aaf2

Browse files
committed
Python: Import framework-modeling in regex.qll
1 parent eff7cf6 commit d51aaf2

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)