File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
python/ql/lib/semmle/python
ruby/ql/lib/codeql/ruby/regexp/internal Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -317,7 +317,7 @@ abstract class RegexString extends Expr {
317
317
/** Gets the `i`th character of this regex */
318
318
string getChar ( int i ) { result = this .getText ( ) .charAt ( i ) }
319
319
320
- /** Gets the `i`th character of this regex, unless it is part of an character escape sequence. */
320
+ /** Gets the `i`th character of this regex, unless it is part of a character escape sequence. */
321
321
string nonEscapedCharAt ( int i ) {
322
322
result = this .getText ( ) .charAt ( i ) and
323
323
not exists ( int x , int y | this .escapedCharacter ( x , y ) and i in [ x .. y - 1 ] )
Original file line number Diff line number Diff line change @@ -259,7 +259,7 @@ abstract class RegExp extends AST::StringlikeLiteral {
259
259
/** Gets the `i`th character of this regex */
260
260
string getChar ( int i ) { result = this .getText ( ) .charAt ( i ) }
261
261
262
- /** Gets the `i`th character of this regex, unless it is part of an character escape sequence. */
262
+ /** Gets the `i`th character of this regex, unless it is part of a character escape sequence. */
263
263
string nonEscapedCharAt ( int i ) {
264
264
result = this .getText ( ) .charAt ( i ) and
265
265
not exists ( int x , int y | this .escapedCharacter ( x , y ) and i in [ x .. y - 1 ] )
You can’t perform that action at this time.
0 commit comments