Java is a case-sensitive language, which means that the upper or lower case of letters in your Java programs matter .
Read moreHow do you make a pattern case-insensitive?
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