zkemail / zk-regex

A library to do regex verification in circom, adapted from the original zk-email. It additionally generates lookup tables for halo2-regex.
GNU General Public License v3.0
76 stars 27 forks source link

Support international emails: Add regex support for . with negation #23

Closed Divide-By-0 closed 7 months ago

Divide-By-0 commented 1 year ago

I think our regex circom circuit should support "." (all characters except for a new line) and a negation regex. For example, they are important to support users in non-English countries because their gmail account names usually includes non-alphabet characters. If we can "." and the negation regex, we can accept any bytes except for ">" as the string of the user name.

From Sora.

SoraSuegami commented 11 months ago

This is solved in zk-regex. https://github.com/zkemail/zk-regex/issues/19