Python re module has methods flags and pattern. How to use these
exactly?

e.g. i tried

print patternObj.flags()

and the error is some "int object is not callable".

newpattern=re.compile(ur'\w+',patternObj.flags())

also bad.

similar error for patternObj.pattern(). (and i suppose the same for
groupindex() )

thanks.

 Xah
 [EMAIL PROTECTED]
â http://xahlee.org/

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to