Skip to content

Commit 21f683d

Browse files
committed
Python: clean up stray coments
1 parent dee5535 commit 21f683d

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

python/ql/src/semmle/python/regex.qll

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -371,13 +371,10 @@ abstract class RegexString extends Expr {
371371
or
372372
// octal value \ooo
373373
end in [start + 2 .. start + 4] and
374-
// this.isOctal([start + 1 .. end]) and
375374
forall(int i | i in [start + 1 .. end - 1] | this.isOctal(i)) and
376-
// this.getText().substring(start + 1, end).toInt() >= 0 and
377375
not (
378376
end < start + 4 and
379-
this.isOctal(end) //and
380-
// exists(this.getText().substring(start + 1, end + 1).toInt())
377+
this.isOctal(end)
381378
)
382379
or
383380
// 16-bit hex value \uhhhh

0 commit comments

Comments
 (0)