Skip to content

Commit 226c295

Browse files
committed
Python: format
1 parent b5703cd commit 226c295

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

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

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -622,10 +622,13 @@ abstract class RegexString extends Expr {
622622
start = 0 and end = this.getText().length()
623623
or
624624
exists(int y | this.lastPart(start, y) |
625-
this.emptyMatchAtEndGroup(end, y) or
626-
this.qualifiedItem(end, y, true) or
627-
this.specialCharacter(end, y, "$") or
628-
y = end+2 and this.escapingChar(end) and this.getChar(end+1) = "Z"
625+
this.emptyMatchAtEndGroup(end, y)
626+
or
627+
this.qualifiedItem(end, y, true)
628+
or
629+
this.specialCharacter(end, y, "$")
630+
or
631+
y = end + 2 and this.escapingChar(end) and this.getChar(end + 1) = "Z"
629632
)
630633
or
631634
exists(int x |

0 commit comments

Comments
 (0)