github / email_reply_parser

Small library to parse plain text email content
MIT License
668 stars 155 forks source link

Dutch end of email is not detected correctly #41

Open rickpastoor opened 9 years ago

rickpastoor commented 9 years ago

This part of the gem: if text =~ /^(?!On.*On\s.+?wrote:)(On\s(.+?)wrote:)$/nm works correctly for non-Dutch emails, but this is not correctly parsed as the end of the email:

Op zondag 31 mei 2015 heeft Name <hello@fakeapp.nl> het volgende geschreven:

It would be awesome if this could be added!

voicecode-bv commented 7 years ago

Bump!

Same for this Dutchie

Op di 24 jan. 2017 om 22:12 schreef Pietje Puk < name@domain.nl>