timruffles / js-todos

Finds TODOs/FIXMEs in JS source code using esprima
2 stars 1 forks source link

search todos written in lower case #3

Open piotr-s-brainhub opened 7 years ago

piotr-s-brainhub commented 7 years ago

It detects

// TODO foo

but it should detect as well:

// todo foo
// ToDo foo

I would like to match all entire words inside all the comments matching /todo/i pattern.

timruffles commented 7 years ago

Nice - maybe add —ignore-case option? On Fri, 17 Nov 2017 at 11:38, piotr-s-brainhub notifications@github.com wrote:

It detects

// TODO foo

but it should detect as well:

// todo foo

// ToDo foo

I would like to match all entire words inside all the comments matching /todo/i pattern.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/timruffles/js-todos/issues/3, or mute the thread https://github.com/notifications/unsubscribe-auth/AAPPyCsSd3xApT7rjkSyX2ZlgcMeOD1tks5s3XAzgaJpZM4Qh6xI .