closeio / quotequail

a library that identifies quoted text in email messages
MIT License
58 stars 23 forks source link

reply line getting split breaks regex #19

Closed acinader closed 6 years ago

acinader commented 6 years ago

In the event that the reply line is broken like so:

On Thu, Jan 4, 2018 at 11:17 AM, Boo Radley
wrote:

When trying to match the regex: '^On (.*) wrote:$', # apple mail/gmail reply

it'll fail cause concatenating will look like this: On Thu, Jan 4, 2018 at 11:17 AM, Boo Radleywrote:

so it wont match.

thomasst commented 6 years ago

This should be fixed in https://github.com/closeio/quotequail/pull/21