You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: java/ql/lib/semmle/code/java/regex/regex.qll
+6-3Lines changed: 6 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -174,7 +174,7 @@ abstract class RegexString extends StringLiteral {
174
174
}
175
175
176
176
/**
177
-
* Helper predicate for `quoteSequence`.
177
+
* Helper predicate for `quote`.
178
178
* Holds if the char at `pos` could be the beginning of a quote delimiter, i.e. `\Q` (non-escaped) or `\E` (escaping not checked, as quote sequences turn off escapes).
179
179
* Result is `true` for `\Q` and `false` for `\E`.
180
180
*/
@@ -189,7 +189,7 @@ abstract class RegexString extends StringLiteral {
189
189
}
190
190
191
191
/**
192
-
* Helper predicate for `quoteSequence`.
192
+
* Helper predicate for `quote`.
193
193
* Holds if the char at `pos` is the one-based `index`th occourence of a quote delimiter (`\Q` or `\E`)
194
194
* Result is `true` for `\Q` and `false` for `\E`.
195
195
*/
@@ -343,7 +343,10 @@ abstract class RegexString extends StringLiteral {
0 commit comments