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[#2267]: domain part in email regex #2274

Merged
merged 1 commit into from May 17, 2023
Merged

Fix[#2267]: domain part in email regex #2274

merged 1 commit into from May 17, 2023

Conversation

fvckDesa
Copy link
Contributor

This PR is for correct the email regex. Now there aren't errors with subdomains or hyphen as separetor.
Also it solves issues #2154, #2193

@netlify
Copy link

netlify bot commented Mar 29, 2023

Deploy Preview for guileless-rolypoly-866f8a ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit d13093f
🔍 Latest deploy log https://app.netlify.com/sites/guileless-rolypoly-866f8a/deploys/64249d72e1ced000081cfbe4
😎 Deploy Preview https://deploy-preview-2274--guileless-rolypoly-866f8a.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@timmattison
Copy link

I ran into this issue last night with an e-mail domain with four components. For me, this change fixed it (and domains with more components as well). LGTM!

@reminjp reminjp mentioned this pull request May 9, 2023
@MaximeBernard
Copy link

@colinhacks anything I can help with to merge this PR?

@MaximeBernard
Copy link

or @scotttrinh?

Copy link
Collaborator

@scotttrinh scotttrinh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This RegExp is getting pretty complicated, but I can follow the logic here. Thanks for the contribution!

@scotttrinh scotttrinh merged commit 15de22a into colinhacks:master May 17, 2023
12 checks passed
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

4 participants