Files
codeql/python/ql/test/library-tests/regex/Qualified.ql
2023-05-01 10:42:14 +02:00

9 lines
316 B
Plaintext

import python
import semmle.python.regex
from RegExp r, int start, int end, boolean maybe_empty, boolean may_repeat_forever
where
r.getLocation().getFile().getBaseName() = "test.py" and
r.qualifiedItem(start, end, maybe_empty, may_repeat_forever)
select r.getText(), start, end, maybe_empty, may_repeat_forever