Re: [Python-Dev] Ask a question for a script about re.findall Modlue

2010-05-22 Thread Hagen Fürstenau
> Your problem is easily explained however: the second argument to > p.findall() should be an offset, not a flag set. (You are confusing > re.findall() and p.findall().) I filed a doc bug for this: http://bugs.python.org/issue8785 Cheers, Hagen signature.asc Description: OpenPGP digital signa

Re: [Python-Dev] Ask a question for a script about re.findall Modlue

2010-05-21 Thread Guido van Rossum
You shouldn't be asking questions about using Python on python-dev -- this list is for development of Python. Your problem is easily explained however: the second argument to p.findall() should be an offset, not a flag set. (You are confusing re.findall() and p.findall().) --Guido On Fri, May 21