Files
codeql/python/ql/examples/snippets/raw_string.ql
2019-07-26 17:47:11 +02:00

13 lines
201 B
Plaintext

/**
* @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