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 <nore...@example.com>

but a simpler way to do that is

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

and to also match

From: nore...@example.com

make it

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

-- 
Mark Sapiro <m...@msapiro.net>        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 -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
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/mailman-users@python.org/
    https://mail.python.org/archives/list/mailman-users@python.org/

Reply via email to