Subject Regex
Closed this issue · 1 comments
This script is amazing! Works great for a digital picture frame. How can I specify multiple regular expression matches for the subject? I've tried using a pipe character to denote OR all inside both double and single quotes, but it does not work. Email clients on phones will often try to autocorrect the subject to proper capitalization and/or split the word "picframe" into "pic frame". I'd like to specify the following as an example:
picframe|Picframe|PicFrame|Pic Frame|pic frame
Solved my own question. After looking into the Python script, and then subsequently the manpage for re, I have provided the following argument for the script. This only testing two different strings. It worked successfully.
--subject-regex="picframe|pic frame"