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 {
317317 /** Gets the `i`th character of this regex */
318318 string getChar ( int i ) { result = this .getText ( ) .charAt ( i ) }
319319
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. */
321321 string nonEscapedCharAt ( int i ) {
322322 result = this .getText ( ) .charAt ( i ) and
323323 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 {
259259 /** Gets the `i`th character of this regex */
260260 string getChar ( int i ) { result = this .getText ( ) .charAt ( i ) }
261261
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. */
263263 string nonEscapedCharAt ( int i ) {
264264 result = this .getText ( ) .charAt ( i ) and
265265 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