java Programming Glossary: pattern.case_insensitive
removing characters of a specific unicode range from a string http://stackoverflow.com/questions/12013341/removing-characters-of-a-specific-unicode-range-from-a-string u1f300 u1f64f Pattern.UNICODE_CASE Pattern.CANON_EQ Pattern.CASE_INSENSITIVE Matcher unicodeOutlierMatcher unicodeOutliers.matcher utf8tweet.. ^ x00 x7F Pattern.UNICODE_CASE Pattern.CANON_EQ Pattern.CASE_INSENSITIVE Matcher unicodeOutlierMatcher unicodeOutliers.matcher utf8tweet..
JAVA: check a string if there is a special character in it http://stackoverflow.com/questions/1795402/java-check-a-string-if-there-is-a-special-character-in-it improve this question Pattern p Pattern.compile ^a z0 9 Pattern.CASE_INSENSITIVE Matcher m p.matcher I am a string boolean b m.find if b System.out.println..
Java Regex performance http://stackoverflow.com/questions/3910514/java-regex-performance . The flags for the pattern private static final int flags Pattern.CASE_INSENSITIVE Pattern.DOTALL Pattern.MULTILINE Pattern.UNICODE_CASE Pattern.CANON_EQ..
regex replace all ignore case http://stackoverflow.com/questions/5568081/regex-replace-all-ignore-case String word sony ericsson Pattern p Pattern.compile word Pattern.CASE_INSENSITIVE Matcher m p.matcher inText StringBuffer sb new StringBuffer..
Validate a file name on Windows http://stackoverflow.com/questions/6730009/validate-a-file-name-on-windows is not a space or dot. n # Anchor to end of string. Pattern.CASE_INSENSITIVE Pattern.UNICODE_CASE Pattern.COMMENTS Matcher matcher pattern.matcher..
Punctuation Regex in Java http://stackoverflow.com/questions/8200908/punctuation-regex-in-java Create a Pattern object Pattern r Pattern.compile pattern Pattern.CASE_INSENSITIVE Now create matcher object. Matcher m r.matcher value if m.find..
Is the Contains Method in java.lang.String Case-sensitive? http://stackoverflow.com/questions/86780/is-the-contains-method-in-java-lang-string-case-sensitive case insensitive matching Pattern.compile Pattern.quote s2 Pattern.CASE_INSENSITIVE .matcher s1 .find EDIT If s2 contains regex special characters..
Java: Search in HashMap keys based on regex? http://stackoverflow.com/questions/879807/java-search-in-hashmap-keys-based-on-regex You need to specify case insensitivity Pattern.compile c Pattern.CASE_INSENSITIVE . To find a word with a c in it you need to use matcher.find..
Regular Expression to match 3 or more Consecutive Sequential Characters and Consecutive Identical Characters http://stackoverflow.com/questions/8880088/regular-expression-to-match-3-or-more-consecutive-sequential-characters-and-cons is easy though Pattern pattern Pattern.compile a z d 1 1 Pattern.CASE_INSENSITIVE This will match any sequence of three identical characters that..
|