[Mailman-Users] MM-2.1.12 Bug (non critical)

Todd Zullinger tmz at pobox.com
Fri May 15 22:16:42 CEST 2009


Barry Warsaw wrote:
> I tend to agree that "normal" users think of globs instead of
> regexps.  Unfortunately, there's no good non-filesystem glob module
> in Python that I know of.  Ideally, there'd be a module that
> translates globs to regexps.  That might not be too hard.

Would fnmatch.translate work?

http://docs.python.org/library/fnmatch.html#fnmatch.translate

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
User, n.: The word computer professionals use when they mean "idiot."
    -- Dave Barry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 542 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/mailman-users/attachments/20090515/10a4d890/attachment.pgp>


More information about the Mailman-Users mailing list