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

fix(regex): update the email regex for more cases #2217

Closed

Conversation

cookieMonsterDev
Copy link

The yup.string().email() works via regex but is does not cover cases like:

This PR resolves this issue.

@jquense
Copy link
Owner

jquense commented May 15, 2024

Thanks for the PR but the current behavior is intentionally matching browser spec for email validation. You can read more about the reasons and justifications in the b1 issue and other issues

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

Successfully merging this pull request may close these issues.

None yet

2 participants