Regular Expression in java

Hi,I am working on regular expression in java and i have given Pattern.CASE_INSENSITIVE in my compile method but i want in one line the pattern should behave as SENSITIVE is there any way to achive this rather then chaning the pattern.CASE_INSENSITIVE.Thanks in advance
[290 byte] By [infyscreena] at [2007-10-2 20:27:30]
# 1
Make another pattern.
Norweeda at 2007-7-13 23:10:24 > top of Java-index,Java Essentials,Java Programming...
# 2
Use the inline modifiers. "(?i)" makes the regex case insensitive until the next "(?-i)"; "(?i:xyz)" makes only that group case insensitive.
uncle_alicea at 2007-7-13 23:10:24 > top of Java-index,Java Essentials,Java Programming...