mailgun / talon

Apache License 2.0
1.27k stars 285 forks source link

detect K-9 signatures #199

Open sblondon opened 5 years ago

sblondon commented 5 years ago

This PR detects K-9 signatures to separate them from the main message.

The regular expression is generic in order to fit several translations of the signature.

The original signature text is available at https://github.com/k9mail/k-9/blob/581937a7e33f8c1442d0a6225485fb28f8dab1db/app/ui/src/main/res/values/strings.xml#L64

mailgun-ci commented 5 years ago

Can one of the admins verify this patch?