iTerm2 trigger case insensitive
<p>Recently I discovered iTerm2's wonderful feature: triggers. Now I want iTerm to highlight some pieces of text, for exampeo <code>error</code>, <code>fatal</code>, 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 <a href="http://userguide.icu-project.org/strings/regexp#TOC-Case-Insensitive-Matching" rel="noreferrer">state</a> that I can use the <code>(?i)</code> flag to match case insensitive.</p>

<p>I tried a lot, including <code>(?i)/error</code>, <code>(?i)error</code>, etc., but none work. Please see screenshot below; any idea how to match case insensitive?</p>

<p><a href="https://i.stack.imgur.com/KloID.png" rel="noreferrer"><img src="https://i.stack.imgur.com/KloID.png" alt="enter image description here"></a></p>