Files
codeql/python/ql/examples/snippets/raw_string.ql
2020-03-30 11:59:10 +02:00

14 lines
229 B
Plaintext

/**
* @id py/examples/raw-string
* @name Raw string literals
* @description Finds string literals with an 'r' prefix
* @tags string
* raw
*/
import python
from StrConst s
where s.getPrefix().matches("%r%")
select s