mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
8 lines
239 B
Plaintext
8 lines
239 B
Plaintext
import javascript
|
|
|
|
from StringLiteral literal, RegExpDot dot, int pos
|
|
where
|
|
dot.getParent*() = literal and
|
|
pos = dot.getLocation().getStartColumn() - literal.getLocation().getStartColumn()
|
|
select dot, literal.getRawValue().charAt(pos)
|