To enable the regex case insensitive matching, add (?) prefix or enable the case insensitive flag directly in the Pattern .7 Eyl 2013
Read moreHow do you make a section insensitive in a regex case?
Perl lets you make part of your regular expression case-insensitive by using the (? i:) pattern modifier . Modern regex flavors allow you to apply modifiers to only part of the regular expression.
Read more