22 May
2010
22 May
'10
10:07 a.m.
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