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

Fixing email address and domain regexes. #68

Merged
merged 5 commits into from
Sep 4, 2024
Merged

Conversation

SoraSuegami
Copy link
Contributor

This PR fixes bugs that the current regexes for email address and domain cannot capture an address containing "@" in the name part, e.g., "alice@[email protected]".
However, the email_domain_regex.circom circuit cannot capture such an address correctly due to limitation of the circuit construction, so it exposes all substring after "@", e.g., "[email protected]" is output as the domain of "alice@[email protected]".

@SoraSuegami SoraSuegami requested a review from Bisht13 August 27, 2024 08:20
@Bisht13
Copy link
Member

Bisht13 commented Sep 4, 2024

LGTM

@Bisht13 Bisht13 merged commit c7c1845 into main Sep 4, 2024
4 checks passed
@Bisht13 Bisht13 deleted the feat/fix-email-addr-regex branch September 4, 2024 18:43
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.

2 participants