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

12 lines
263 B
Plaintext

/**
* @name Escaped
* @description Test for escaped characters
*/
import python
import semmle.python.regex
from RegExp r, int start, int end
where r.character(start, end) and r.getLocation().getFile().getBaseName() = "test.py"
select r.getText(), start, end