Actually, you can't use //X switches in /filter or $hmatch or anything else but $regex and $regsub. I just tested this again to double check and nothing has changed. (Edit: Except perhaps for event match-text. I haven't tested that yet.)

As Iori said, you can use the PCRE flag (?i) before the string you wish to CaSe InSeNsItIvE, and optionally close with (?-i).

- Raccoon


Well. At least I won lunch.
Good philosophy, see good in bad, I like!