in reply to slurping (matching \n)

Take a look at the /s modifier. It allows . to also match \n.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco.
Rule 1 has a caveat! -- Who broke the cabal?

Replies are listed 'Best First'.
Re^2: slurping (matching \n)
by GaijinPunch (Pilgrim) on Apr 18, 2005 at 01:33 UTC
    And that'd be what I was missing. :) Thanks