re.sub problem

RunLevelZero Aiwass333 at gmail.com
Fri Mar 31 18:27:04 CEST 2006


Okay I just woke up and haven't had enough coffee so if I'm off here
please forgive me.  Are you saying that if there is an emptly line then
it borks?  If so just use re.S ( re.DOTALL ) and that should take care
of it.  It will treat the ( . ) special.  Otherwise it ignores new
lines.




More information about the Python-list mailing list