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 b959705 commit 5caff81Copy full SHA for 5caff81
python/ql/lib/semmle/python/regex.qll
@@ -111,6 +111,11 @@ deprecated string mode_from_mode_object(Value obj) {
111
)
112
}
113
114
+// importing all the frameworks that extend `RegexString`.
115
+private import semmle.python.frameworks.Django as Django1
116
+private import semmle.python.frameworks.Tornado as Tornado1
117
+private import semmle.python.web.django.General as Django2
118
+
119
/** A StrConst used as a regular expression */
120
abstract class RegexString extends Expr {
121
RegexString() { (this instanceof Bytes or this instanceof Unicode) }
0 commit comments