\n itself isn't ignored, what you're thinking of is . which doesn't include \n without the s flag.
In reply to Re^2: Scrubbing XML by Your Mother in thread Scrubbing XML by the.duck