Fixed regex to include Windows type line-ending.

I've had this problem for a while and didn't quite know what it was until I
searched for the different line endings. I've tested this on Unix but on Linux only on my S3.

I'm I missing anything or is this not really a problem ?