mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
15 lines
277 B
Plaintext
15 lines
277 B
Plaintext
/**
|
|
* @id py/examples/singlequotestring
|
|
* @name Single-quoted string literals
|
|
* @description Finds string literals using single quotes
|
|
* @tags string
|
|
* single quote
|
|
* quote
|
|
*/
|
|
|
|
import python
|
|
|
|
from StringLiteral s
|
|
where s.getPrefix().charAt(_) = "'"
|
|
select s
|