Recently I discovered iTerm2's wonderful feature: triggers. Now I want iTerm to highlight some pieces of text, for exampeo error
, fatal
, etc. I want those triggers to be case-insensitive, but I'm having a hard time setting up these triggers. According the documentation, iTerm's regular expressions are conform the ICU regular expressions rules, which state that I can use the (?i)
flag to match case insensitive.
I tried a lot, including (?i)/error
, (?i)error
, etc., but none work. Please see screenshot below; any idea how to match case insensitive?
Well, for some reason after clearing out all rules and entering the following, it all started to work :).
(?i)error|panic|fatal
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With