mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
9 lines
307 B
Plaintext
9 lines
307 B
Plaintext
|
|
import python
|
|
import semmle.python.regex
|
|
|
|
from Regex r, int start, int end, int part_start, int part_end
|
|
where r.alternationOption(start, end, part_start, part_end)
|
|
select r.getText(), start, end, r.getText().substring(start, end),
|
|
part_start, part_end, r.getText().substring(part_start, part_end)
|