Skip to content

Commit

Permalink
Update FUTUREBUG.ql
Browse files Browse the repository at this point in the history
  • Loading branch information
SAUMILDHANKAR authored May 1, 2023
1 parent babb6c5 commit 602ee5d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions javascript/ql/src/Comments/FUTUREBUG.ql
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ from Comment c
//where c.getText().regexpMatch("(?s).*FIXME.*|.*FUTURE\\{\\{OK\\}\\}BUG.*|.*(?<!=)\\s*XXX.*")
//below line gives one error
//where c.getText().regexpMatch("(?s).*FIXME.*|.*FUTURE\\{\\{\\D\\}\\}BUG.*|.*(?<!=)\\s*XXX.*")
// below line gives 3 errors
where c.getText().regexpMatch("(?s).*FIXME.*|.*FUTURE\\{\\{\\D*\\}\\}BUG.*|.*(?<!=)\\s*XXX.*")
select c, "FUTUREBUG comments should be addressed."
Expand Down

0 comments on commit 602ee5d

Please sign in to comment.