Skip to content Skip to sidebar Skip to footer

Why Cant I Use Pattern.unicode_character_class In My Android App?

I have configured my android app to use java 8 as below So why cant I use this Constant from java.util.regex.Pattern e.g. Pattern.UNICODE_CHARACTER_CLASS private static final Patte

Solution 1:

This constant is not part of the Android SDK (Android - Pattern). It seems it will be added in API level N but has no influence on Android as stated in the description.

This flag has no effect on Android, unicode character classes are always used.

Post a Comment for "Why Cant I Use Pattern.unicode_character_class In My Android App?"