On 9/11/20 6:44 AM, Dennis Putnam wrote:

> Thanks. So far it is looking good but I made one small change:
> 
> ^from:\s*(<?no-reply|.*<no-reply|.*<noreply)@
> 
> I hope I did it right.


What you did is OK. It will match

From: Jane Doe <[email protected]>

but a simpler way to do that is

^from:\s*(<?no-reply|.*<no-?reply)@

and to also match

From: [email protected]

make it

^from:\s*(<?no-?reply|.*<no-?reply)@

-- 
Mark Sapiro <[email protected]>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------
Mailman-Users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/[email protected]/
    https://mail.python.org/archives/list/[email protected]/

Reply via email to