Skip to content

Commit

Permalink
Improve negation and support non-English chars.
Browse files Browse the repository at this point in the history
  • Loading branch information
SoraSuegami committed Oct 3, 2023
1 parent 03887f6 commit 9273a2e
Show file tree
Hide file tree
Showing 20 changed files with 1,996 additions and 1,476 deletions.
462 changes: 291 additions & 171 deletions packages/circom/circuits/common/email_addr_regex.circom

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/circom/circuits/common/email_addr_with_name.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"parts": [
{
"is_public": false,
"regex_def": "(a|b|c|d|e|f|g|h|i|j|k|l|m|n|o|p|q|r|s|t|u|v|w|x|y|z|A|B|C|D|E|F|G|H|I|J|K|L|M|N|O|P|Q|R|S|T|U|V|W|X|Y|Z|0|1|2|3|4|5|6|7|8|9|_|\\.|\"| |@)+<",
"regex_def": "[^\r\n<]+<",
"max_size": 256
},
{
Expand Down
Loading

0 comments on commit 9273a2e

Please sign in to comment.