Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ Step 1: Import email reply parser package
from email_reply_parser import EmailReplyParser
```

Step 2: Provide email message as type string using parse_reply class method.
Step 2: Provide email message as type string using parse_reply.

```python
parser = EmailReplyParser(language='en')
Expand Down
4 changes: 2 additions & 2 deletions email_reply_parser/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def warnings(self):
r'(CAUTION:|NOTICE:|Disclaimer:|Confidentiality Notice:|Please do not reply|This electronic mail'
r'|The information contained'
r'|The information (provided|transmitted|contained)? (with)?in this (e[\-]?mail|message|communication)'
r'|This electronic (e[\-]?mail|message|communication) (including attachments) may contain confidential'
r'|This electronic (e[\-]?mail|message|communication) \(including( | \n)attachments\) may contain confidential'
r'|This (e[\-]?mail|message|communication) is confidential'
r'|The content[s]? of this (e[\-]?mail|message|communication)'
r'|This (e[\-]?mail|message|communication) may contain'
Expand All @@ -86,7 +86,7 @@ def warnings(self):
r'|This (e[\-]?mail|message|communication) with its contents'
r'|If you have received this (e[\-]?mail|message|communication) in error'
r'|The [cC]ontents are confidential'
r'|Please consider the environment before printing this (e[\-]?mail|message|communication)) [a-zA-Z0-9:;.,?!()@&/\'\"\“\” \-]*',
r'|Please consider the environment before printing this (e[\-]?mail|message|communication)) ([a-zA-Z0-9:;.,?!()@&/\'\"\“\” \-]|(?<!\n)\n)*',
re.IGNORECASE
)

Expand Down