archiecobbs/logwarn

Case insensitive regex not supported

ranvijayj opened this issue · 4 comments

"^.(error|failure|connection|timeout).$/i"

That looks like Javascript regular expression syntax. There is no Javascript here.

logwarn uses UNIX extended regular expression syntax, described here.

Can you please help me with case insensitive matching? @archiecobbs

Not supported currently.

I'll consider this a feature request.

Oops, I forgot, this is supported. Use the -c flag for case-insensitive matching.

See the ManPage for details.