Skip to content

Commit

Permalink
Try flexible prefix in the forced_subject
Browse files Browse the repository at this point in the history
  • Loading branch information
SoraSuegami committed Dec 7, 2024
1 parent 3e70470 commit 21ab24c
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion packages/circuits/src/regexes/forced_subject.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,15 @@
"parts": [
{
"is_public": false,
"regex_def": "(\r\n|^)subject:((re: )|(RE: )|(Re: )|(fwd: )|(FWD: )|(Fwd: ))*\\[Reply Needed\\][^\r\n]*\r\n"
"regex_def": "(\r\n|^)subject:"
},
{
"is_public": false,
"regex_def": "[^[]*"
},
{
"is_public": false,
"regex_def": "\\[Reply Needed\\][^\r\n]*\r\n"
}
]
}

0 comments on commit 21ab24c

Please sign in to comment.