mailgun / talon

Apache License 2.0
1.26k stars 287 forks source link

android_wrote regex incorrectly matching #150

Closed ezrapagel closed 6 years ago

ezrapagel commented 6 years ago

The RE_ANDROID_WROTE regex incorrectly joins the pipe delimiter with the string "wrote", generating a pattern that will match any of those characters. This will match strings like "below ---". The code appears to be anticipating additional words/languages, so I just moved it to a tuple rather than removing the join.

mailgun-ci commented 6 years ago

Can one of the admins verify this patch?

obukhov-sergey commented 6 years ago

@mailgun-ci test this please

obukhov-sergey commented 6 years ago

@mailgun-ci test this please