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@gmail.com@dummy.com".
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., "gmail.com@dummy.com" is output as the domain of "alice@gmail.com@dummy.com".
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@gmail.com@dummy.com". 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., "gmail.com@dummy.com" is output as the domain of "alice@gmail.com@dummy.com".