You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello
I want to check for "error", "Error" and "ERROR" in my log files.
How can I make the regex case-insensitive. I can't add an "i" to the expression like in other regex installations.
I could really need that.
Great work
regards
Juergen
The text was updated successfully, but these errors were encountered:
Python Regular expressions from 3.6 supports an extension notation applicable to this issue, using (?i:...) to ignore case in ...
As stated in the issue, check for error in all cases, coloring the line yellow, with word error/Error/ERROR in red
It seems that the (?i:...) group is not counted, so an additional group is required to match 2:nd color
The first color in color list refers th the whole matched string, and following colors refer to the individual groups
# Check for error in all cases, coloring the line yellow, with word error/Error/ERROR in red
regexp=^.+(?i:(error)).*$
colours=yellow, red
=======
Hello
I want to check for "error", "Error" and "ERROR" in my log files.
How can I make the regex case-insensitive. I can't add an "i" to the expression like in other regex installations.
I could really need that.
Great work
regards
Juergen
The text was updated successfully, but these errors were encountered: