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. -- http://mail.python.org/mailman/listinfo/python-list