Thank you, Mark, as always, you’re a lifesaver!

On Apr 1, 2022, at 3:13 PM, Mark Sapiro 
<m...@msapiro.net<mailto:m...@msapiro.net>> wrote:

On 4/1/22 10:57, Bruce Johnson via Mailman-Users wrote:
I would like to enable a particular list to automatically accept postings from 
any address in our top level domain, eg: anyone with an 
@*.arizona.edu<http://arizona.edu> address
would I just enter ^@*.arizona.edu<http://arizona.edu> in the "List of 
non-member addresses whose postings should be automatically accepted.” box?
Would that include usern...@arizona.edu<mailto:usern...@arizona.edu> as well or 
do I need to add ^@arizona.edu ?
regexes are not remotely my strong suit.


The regexp you want is

^.*[@.]arizona\.edu$

This will match any address ending in `arizona.edu<http://arizona.edu>` 
immediately preceded by `@` or `.`. Essentially what that regexp says is start 
at the beginning of the string, match zero or more characters followed by `@` 
or `.` followed by `arizona.edu<http://arizona.edu>` at the end of the string.


--
Mark Sapiro <m...@msapiro.net<mailto:m...@msapiro.net>>        The highway is 
for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan
------------------------------------------------------
Mailman-Users mailing list -- 
mailman-users@python.org<mailto:mailman-users@python.org>
To unsubscribe send an email to 
mailman-users-le...@python.org<mailto: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/

--
Bruce Johnson
University of Arizona
College of Pharmacy
Information Technology Group

Institutions do not have opinions, merely customs

------------------------------------------------------
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