[Mailman-Users] ban_list example?

Skip Montanaro skip at pobox.com
Mon Oct 13 20:51:14 CEST 2003


    >> Try
    >> 
    >> ^.*@xyz.com

    Scott> Not knowing anything about mailman's use of these values:

    Scott> The "^.*something" regex is equivalent to just "something".  

    Scott> "^.*" is useless, confusing and should never be used in a regex
    Scott> for the regex libraries with which I am familiar.

I realized it was superfluous shortly after posting.  I was focusing on the
missing '.' (really, just about anything) in the OP's post.  "@xyz.com"
should be sufficient, unless Mailman uses re.match() for this particular
task.

-- 
Skip Montanaro
Got gigs? http://www.musi-cal.com/
          http://www.mojam.com/
Got spam? http://spambayes.sf.net/




More information about the Mailman-Users mailing list