There is also:
/(?i:test)/This is especially useful if you want part of the pattern case-sensitive and part not. For example, the first letter may be upper or lowercase but the rest must be lowercase.
/(?i:t)est/In reply to Re^2: making regex case insensitive
by shawnhcorey
in thread making regex case insensitive
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |