How to pass multiline flag to re.sub without using re.complie.

samba cooldudevamsee at gmail.com
Sat May 23 20:31:48 CEST 2009


I have a regex that needs multiline flag. Some where I read I can pass
multiline flag in regex string itself without using re.compile. If
anybody have any idea about how to do that please reply.



More information about the Python-list mailing list