-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release 3.1.5 doesn't work in Android #580
Comments
The regex in problem is According to this spec (https://developer.android.com/reference/java/util/regex/Pattern), Edit Found IsAlphabetic that seems to work and exists (https://developer.android.com/reference/java/util/regex/Pattern.html#ubpc) |
@merlin-zaraza : Can you try the SNAPSHOT and tell me if it fixes your error ? I've no setup to test it with Android. Here's how you can retrieve the version 3.1.6-SNAPSHOT in sonatype: |
Still not working in Android:
|
Seems like it's Android part so I've submitted bug to Android issue tracker https://issuetracker.google.com/issues/181655428. |
Unfortunately Android is not using real Java so they are not using the standard RegEx engine either but ICU instead. ICU has different naming for some things. When I created the pull request, I did take Android into account so I'm not sure why it does not work for you. If I remember correctly, I even tested the pattern. |
I just tested on Android 10 and it works fine, but on Android up to (and perhaps past) 7 it crashes. The page ebusseries sent does say that |
It appears to have been solved in newer Android versions but to support older ones I added a static initializer check. |
@merlin-zaraza Can you try the SNAPSHOT and tell me if it fixes your error ? |
Works now. Thank you! |
Seems like there are some regex patterns were added to release 3.1.5 which doesn't work in Android. Previous version (3.1.4) works well.
Here is stack trace:
According to this post https://stackoverflow.com/questions/47922686/patternsyntaxexception-when-trying-to-validate-latin-characters Android doesn't recognize
Is
aliases.The text was updated successfully, but these errors were encountered: