On 6 Jul 2005 01:01:34 -0700, Raymond Hettinger <[EMAIL PROTECTED]> wrote: > With * being a greedy operator, your post's subject line matches, > "firetrucking"
Nope: >>> print re.match('f*cking', 'firetrucking') None The OP was clearly showing his lack of regex nouce here. Clearly he wanted 'f.*cking': >>> print re.match('f.*cking', 'firetrucking') <_sre.SRE_Match object at 0x01196058> ;-) -- Cheers, Simon B, [EMAIL PROTECTED], http://www.brunningonline.net/simon/blog/ -- http://mail.python.org/mailman/listinfo/python-list