Unicode Support in Java SE7: Missing Classes for Unicode Scripting?

I'm trying to grab Arabic text using java regex \\p{IsArabic}

, however the java compiler doesn't seem to recognize it, although the documentation for java SE7 says what it does .

I'm pretty sure I'm using the correct compiler (JDK 1.7). In fact, the compiler does not recognize any of the script classes like \\p{IsLatin}

and \\p{IsGreek}

! Does anyone else have the same problem?

+3
regex java-7 unicode


source to share


No one has answered this question yet

Check out similar questions:

1215
Why is Java code executed in comments with some Unicode characters?
597
Twitter image encoding problem
459
Why are emoji characters like 👩👩👧👦 so weird about Swift strings?
165
How to install -source 1.7 in Android Studio and Gradle
140
Combine multiline text using regular expression
76
Why is StringBuilder # append (int) faster in Java 7 than Java 8?
56
Why does Java allow escaping Unicode characters in source code?
55
Can I use OR in regex without capturing nested ones?
1
including String in Netbeans with Java 7
0
java new string regex



All Articles
Loading...
X
Show
Funny
Dev
Pics