Skip to content

Commit

Permalink
Update command and forced_subject regexes
Browse files Browse the repository at this point in the history
  • Loading branch information
SoraSuegami committed Dec 19, 2024
1 parent be63421 commit 937e3fd
Show file tree
Hide file tree
Showing 7 changed files with 990 additions and 1,495 deletions.
2 changes: 1 addition & 1 deletion packages/circuits/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"dependencies": {
"@zk-email/circuits": "=6.3.2",
"@zk-email/relayer-utils": "=0.4.59",
"@zk-email/zk-regex-circom": "=2.3.1",
"@zk-email/zk-regex-circom": "=2.3.2",
"commander": "^12.1.0",
"snarkjs": "=0.7.5"
},
Expand Down
6 changes: 3 additions & 3 deletions packages/circuits/src/regexes/command.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
"parts": [
{
"is_public": false,
"regex_def": "(<div id=3D\"[^\"]*zkemail[^\"]*\"[^>]*>)"
"regex_def": "\\[zkemail-begin\\]"
},
{
"is_public": true,
"regex_def": "[^<>/]+"
"regex_def": "[^<>/\\[\\]]+"
},
{
"is_public": false,
"regex_def": "</div>"
"regex_def": "\\[zkemail-end\\]"
}
]
}
Loading

0 comments on commit 937e3fd

Please sign in to comment.