How do I make regex overrides case-insensitive?

Grafana v9.5.1

I’m implementing an override that searches by regex. I want it to find anything that includes the word “fail” with any case. I’ve tried .fail., but that only works if it’s all lowercase. The internet said that i could try (?i).fail., but that seems to do nothing. How do I make it case-insensitive?

Hey @newuser123,

Let’s give it a try!
(?i).*fail.*
(?i)[fF][aA][iI][lL]
(?i)\bfail\b

Tell me if that works.

Regards

Thank you! I tried them out and, unfortunately, none of them worked