mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
14 lines
234 B
Plaintext
14 lines
234 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 StringLiteral s
|
|
where s.getPrefix().matches("%r%")
|
|
select s
|