CodeQL queries 1.23

Skip to end of metadata
Go to start of metadata

Finds comments containing the word "TODO"

import python

from Comment c
where c.getText().regexpMatch("(?si).*\\bTODO\\b.*")
select c