easy question on python regular expressions

On the *Privacy options->Sender filters* admin page there is a non-member filter to *accept_these_nonmembers*. I would like to use a regular expression to accept all email from a particular domain.
ex: *@any.com
Apparently I don't understand python regular expressions very well. Everything I try simply gets ignored when I submit the page. Can someone out there *show* me what I need to use to accomplish the task.
Thanks!
Steve Lindemann __ Network Administrator //\\ ASCII Ribbon Campaign Marmot Library Network, Inc. \\// against HTML/RTF email, url: http://www.marmot.org //\\ vCards & M$ attachments email: mailto:steve@marmot.org voice: +1.970.242.3331 ext 16 fax: +1.970.245.7854

Steve Lindemann wrote:
I would like to use a regular expression to accept all email from a particular domain.
ex: *@any.com
Can someone out there *show* me what I need to use to accomplish the task.
^.*@any\.com$
-- Mark Sapiro <msapiro@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

Mark Sapiro wrote:
Steve Lindemann wrote:
I would like to use a regular expression to accept all email from a particular domain.
ex: *@any.com
Can someone out there *show* me what I need to use to accomplish the task.
^.*@any\.com$
Thank you Mark! Given the examples I could find and all the variations I tried I completely missed the trailing $ sign... *sigh*
Steve Lindemann __ Network Administrator //\\ ASCII Ribbon Campaign Marmot Library Network, Inc. \\// against HTML/RTF email, url: http://www.marmot.org //\\ vCards & M$ attachments email: mailto:steve@marmot.org voice: +1.970.242.3331 ext 16 fax: +1.970.245.7854

Steve Lindemann wrote:
Mark Sapiro wrote:
^.*@any\.com$
Thank you Mark! Given the examples I could find and all the variations I tried I completely missed the trailing $ sign... *sigh*
Well, that shouldn't matter too much. ^.*@any\.com will match all the same addresses. It will just match jdoe@any.com.us and similar addresses too.
-- Mark Sapiro <msapiro@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Mark Sapiro
-
Steve Lindemann