re.sub problem
veracon
veracon at gmail.com
Fri Mar 31 12:14:11 EST 2006
Thanks a lot! Compiling with re.DOTALL did fix my problem for the most
part; there still are a few problems with my code, but I think I can
fix those myself.
Again, thanks!
> 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