in reply to slurping (matching \n)

Also note that /\s/ always matches a newline, too. You don't need /s for that.

Replies are listed 'Best First'.
Re^2: slurping (matching \n)
by ysth (Canon) on Apr 18, 2005 at 06:08 UTC
    As do \C, \D, \W, and \X.