in reply to Re^3: regexp over multiple lines
in thread regexp over multiple lines

You're solving the wrong problem. It's not a magical regexp you need. It's the "process the file line by line" that needs changing.

Replies are listed 'Best First'.
Re^5: regexp over multiple lines
by liverpaul (Acolyte) on Aug 03, 2011 at 09:12 UTC

    Yeah, I'm beginning to see that now. Unfortunately there's a lot of code built on the incorrect foundation of line-by-line.

    I'm eventually going to change to "slurping", but for now I'm going try to "force" a messy solution. From my understanding I think I can do this by concatenating 3 or 4 lines. Maybe it will work, time will tell.