Actually, and correct me if I am wrong on this, but I believe the \n matches \r carriage returns as well as just simple newlines in perl 5. Could be wrong, but I think I am not :).
Tradez "Never underestimate the predicability of stupidity"
- Bullet Tooth Tony, Snatch (2001)