Files
codeql/csharp/ql/examples/todo_comment.ql
2019-07-26 17:47:11 +02:00

13 lines
218 B
Plaintext

/**
* @name TODO comments
* @description Finds comments containing the word "TODO".
* @tags comment
* TODO
*/
import csharp
from CommentLine c
where c.getText().regexpMatch("(?si).*\\bTODO\\b.*")
select c