pgherveou/mailstrip — pull request #1 by trevordixon (2012-10-02 19:42:27+00:00)
Title: Match newline characters too

Here's an example of a reply from Gmail:

'This is weird.\n\nOn Tue, Oct 2, 2012 at 1:18 PM, Image Description <\npoet@ec2-23-21-118-162.compute-1.amazonaws.com> wrote:\n\n> Here\'s the image to describe (click to enlarge):\n>\n>\n'

Sometimes there's a newline in the middle of the 'On …, … wrote:', and the dot (.) matches any character *except* a newline. [\S\s] will match any character including the newline.