How is the answer from How to determine if a character is a letter in Java? I used the code snippet below to match if the string contains the Unicode letter or not at the beginning. It worked great on java 6, where the Unicode character \ u0374 was not considered unicode lettter
boolean test = "\u0374100".matches("[\\p{L}].*");; returns true on java 7 whereas it return false java 6.
Was there any change in java 7 regarding this perspective? If so, how do java 6 things work with java 7?
source
share