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 21f683d commit 3c647c6Copy full SHA for 3c647c6
python/ql/src/semmle/python/regex.qll
@@ -369,7 +369,7 @@ abstract class RegexString extends Expr {
369
// hex value \xhh
370
this.getChar(start + 1) = "x" and end = start + 4
371
or
372
- // octal value \ooo
+ // octal value \o, \oo, or \ooo
373
end in [start + 2 .. start + 4] and
374
forall(int i | i in [start + 1 .. end - 1] | this.isOctal(i)) and
375
not (
0 commit comments