Files
codeql/python/ql/test/library-tests/regex/Characters.ql
2020-03-30 11:59:10 +02:00

12 lines
262 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