Could someone explain what (?i) and (?-i) wrapping a word in regex mean?
(?i)
(?-i)
(?i)test(?-i)
I tested and it matches
(?i) turns on case-insensitive mode, (?-i) turns it off.
For example, if you tried (?i)te(?-i)st, it would match test, TEst, tEst, but not teST.
(?i)te(?-i)st