Barry Finkel wrote: >I have a question about regular expressions and >accept_these_nonmembers. If I want any address in > > anl.gov >or > example.com > >to be able to post, is this correct for the accept_these_nonmembers box? > > ^.*anl\.gov > ^.*example\.com > >Do I need a "$" at the end of each regular expression?
No, you don't need a '$', but consider that "^.*anl\.gov" will not only match all the addresses you want to match but also addresses such as manl.governa...@spammer.invalid spam...@zanl.gov and spam...@anl.gov.cc. I suggest either ^...@.]anl\.gov$ if you want to also accept sub domains like mail.anl.gov or ^...@anl\.gov$ if you don't. -- Mark Sapiro <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 http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org