mirror of
https://github.com/github/codeql.git
synced 2025-12-24 12:46:34 +01:00
7 lines
237 B
Plaintext
7 lines
237 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)
|