mirror of
https://github.com/github/codeql.git
synced 2026-03-29 03:38:17 +02: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)
|