Re: re.sub problem



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.

.



Relevant Pages

  • Re: whose job is it to include various header files?
    ... On Fri, 14 Mar 2008, Robert P. J. Day wrote: ... alter sources and includes get obsolete, ... compiling again for files that formerly depended (implicit or ... IMHO, then, that second case is worth trying to fix when it comes ...
    (Linux-Kernel)
  • Re: Yet Another Maccie Dud [was Re: Windows Vista Possibly Punishes GNU GCC Applications]
    ... | I would appreciate being informed of a fix for this problem, ... deficiencies of the DJGPP or GCC environments, or their libraries, ... or Win98SE, so the problem is due to V*sta, not GCC 3.04 or DJGPP. ... compiling, linking, and running my sample code, using any ...
    (comp.sys.mac.advocacy)
  • Re: [slrn] Now Finicky About X-Face Headers?
    ... A very dirty fix, assuming you're compiling from source, might be to ... No. I'd rather not have to fix it at all, ... The point was that this is Free/Libre Open Source Software, ... This is not good news for those of us who want a usable slrn 1.0 ...
    (news.software.readers)
  • Re: RELENG_7 jerky mouse and skipping sound (still a problem -BETA3)
    ... skipping sound. ... I seems to happen when I'm compiling ports and a new ... the developers in this area reproduce the issue? ... The fix for that should be going in shortly. ...
    (freebsd-stable)
  • Re: [slrn] Now Finicky About X-Face Headers?
    ... the Shark wrote: ... A very dirty fix, assuming you're compiling from source, might be ... No. I'd rather not have to fix it at all, ... This is not good news for those of us who want a usable slrn ...
    (news.software.readers)