alfonsrv / mail-parser-reply

📧 Mail reply parser library for Python with multi-language support
https://pypi.org/project/mail-parser-reply/
MIT License
43 stars 16 forks source link

Make Disclaimers less strict #2

Open HHoofs opened 1 year ago

HHoofs commented 1 year ago

It seems that the word email must come after any disclaimer specified. This breaks matching disclaimers such as:

NOTICE TO RECIPIENTS: Information contained...
alfonsrv commented 1 year ago

Thanks for your PR. Shouldn't we instead replace (?:mail) with (?:[e\-mail]*)? instead to make it entirely optional?