Files
codeql/python/ql/test/library-tests/regex/Characters.ql

15 lines
266 B
Plaintext

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