RegexWars
Tier 8 · Novicematch

Case Blind

Match "error" in any mix of upper and lower case.

You could write [Ee][Rr][Rr][Oo][Rr]. Or you could turn on the i flag and save fourteen characters. Flags count towards your score, so the trade is real — and here it is worth it.

Your pattern0 chars · par 6
//
Flags
Start typing — tests run as you go.0 of 5 visible tests passing
Test cases
  • errormust match
  • ERRORmust match
  • Error: not foundmust match
  • fatal eRRoRmust match
  • warningmust not match

+ 3 hidden tests, checked when you submit. They are what stops a pattern that only fits the examples above.