Skip to content
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

Failed to validate length and email format constarint #8

Open
RahulAbhi22 opened this issue Jun 1, 2021 · 0 comments
Open

Failed to validate length and email format constarint #8

RahulAbhi22 opened this issue Jun 1, 2021 · 0 comments

Comments

@RahulAbhi22
Copy link

RahulAbhi22 commented Jun 1, 2021

I am trying to use below assert but its not working for me .
@Assert(condition: ".length() < 55 && .matches("\^[A-Z0-9+_.-]+@[A-Z0-9.-]\$")")

Any suggestions on what I am doing wrong.?
It compiles good , but for valid email also its throwing error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant