mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
14 lines
229 B
Plaintext
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
|