-
Notifications
You must be signed in to change notification settings - Fork 14
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
NPE on specific regex #105
Comments
I will look into that. Though I am curious which results did you get in 1.4, because character classes were not supported in 1.4 at all. So the results could not have been correct anyway. |
Ok. I see that this category (
I will try to add it. |
With 1.4 I get something like the below which passes the System.out.println("%u@O2L1K\"jn:;3e&(e<QN5q4HeN'A:(\\c^F.03-vyvKW5zW/u~h,(aSyGHPKIA);XNY#v@[hEh(Og=NEVq;0+VN#sv\\wOVE<t[RNo(Tg'nFk)\\GZ]o%|~d3KNi?J\"l2bGO#7E*BQo 8qS25\\A<8yLO<JmmP)ABDr^#kZ[$8B^R=hFMBec,;IdXF!Q[vVe|O_5]1#-$d(N#+2Vh'HbB[#M8]T6,P6VJ3sT|NGOe=5k'OO*Asrds%*@XAy".matches("^[^\\p{C}\\p{Z}\\s]*[^\\p{C}]+[^\\p{C}\\p{Z}]*$")); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I get a NPE with the following regex
^[^\p{C}\p{Z}\s]*[^\p{C}]+[^\p{C}\p{Z}]*$
which didn't happen on version 1.4.To Reproduce
Steps to reproduce the behavior:
^[^\p{C}\p{Z}\s]*[^\p{C}]+[^\p{C}\p{Z}]*$
RgxGen.parse("^[^\\p{C}\\p{Z}\\s]*[^\\p{C}]+[^\\p{C}\\p{Z}]*$").generate()
Expected behavior
Property generate a value.
Environment (please complete the following information):
Additional context
It works with RgxGen 1.4.
The text was updated successfully, but these errors were encountered: