-
Notifications
You must be signed in to change notification settings - Fork 371
Fatal Exception java.util.regex.PatternSyntaxException #1
Comments
Can you please post the text with which this is happening? |
I reproduced the same error. Would highly apprecite if you fix it. Your library has almost no alternative for Android. |
As this question was critical to me, already fixed this by myself. Also fixed freeze which appeared for some texts. |
@Peroxide71 Try it now, I have edited the config file. I am no expert in git, so the best I can tell you now is delete the originals and then reclone and then push in the changes. Looking forward to seeing your updates. I also suggest you read this http://stackoverflow.com/questions/7690317/cant-push-commits-to-central-repository which can help ensure the problem is not from your end. |
I have cleaned and recloned local repo, set a branch for pushing, still showing 403 with https request. |
Try to do a fork and then edit on the master branch (of the fork, which is on your side) and then do a pull request to my branch. A pull request is telling the upstream repository (which in this case is mine) to "pull" the modifications from your fork. Then I will go through and merge in any conflicts it might cause. Try that and let me know if there are any problems. |
I have provided an update. This should resolve your problem! |
E/AndroidRuntime﹕ FATAL EXCEPTION: main
java.util.regex.PatternSyntaxException: In a character range [x-y], x is greater than y near index 15:
([^4.941744E-4])
^
at java.util.regex.Pattern.compileImpl(Native Method)
at java.util.regex.Pattern.compile(Pattern.java:407)
at java.util.regex.Pattern.(Pattern.java:390)
at java.util.regex.Pattern.compile(Pattern.java:381)
at java.lang.String.replaceFirst(String.java:1793)
at org.diktor.utils.TextJustify.justifyOperation(TextJustify.java:73)
at org.diktor.utils.TextJustify.justify(TextJustify.java:82)
at org.diktor.utils.TextJustify.run(TextJustify.java:26)
The text was updated successfully, but these errors were encountered: