On 9/11/2020 11:52 AM, Mark Sapiro wrote: > 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)@ > > Thanks Mark. Clever. Now that I see it, I should have been able to figure that out myself. Regex is not my forte.
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/