Closed ginty closed 6 years ago
I can see it being helpful to have the compares be case insensitive. Are there any cases where you might want to force a case sensitive compare?
I could see it either way. Should we also add matching any regex instead of just strings?
Good idea @coreyeng, I was trying to think of a nice way to allow a user to specify that they wanted case sensitivity if they really needed it, supplying their own regex instead of a string seems like a good solution.
OK, added the ability to supply a regexp to the log filters instead of a string.
This means that the match will be case insensitive in the default case where a string is given, but a regexp can be used if case-sensitivity or any other more fine grained control over what is matched is required.
When writing up the log guide I thought that it might be safer to do these matches case insensitive.
Thoughts?