DEFAULT_SIGNATURE_REGEX is catching lists as signatures
from mailparser_reply import EmailReplyParser
segmenter = EmailReplyParser(
languages=["en"],
)
segmenter.read("""
This is simple markdown list:
- a
- b
""").replies
# output
# [EmailReply(content='This is test list:\n- a\n- b', headers='', signatures='- a\n- b', disclaimers=[])]
DEFAULT_SIGNATURE_REGEX is catching lists as signatures