diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2012-11-07 20:45:36 -0300 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2012-11-07 20:45:36 -0300 |
commit | 2373ab019c5515153fb085a5c2c80c1ac179f873 (patch) | |
tree | ee65b23a120de60c5529169cf1f8f365888a8cf2 | |
parent | f10979a56a0256bcdaff818bbeaa5c6d5d8a1248 (diff) | |
download | askbot-2373ab019c5515153fb085a5c2c80c1ac179f873.tar.gz askbot-2373ab019c5515153fb085a5c2c80c1ac179f873.tar.bz2 askbot-2373ab019c5515153fb085a5c2c80c1ac179f873.zip |
yet another regex fix
-rw-r--r-- | askbot/mail/parsing.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/askbot/mail/parsing.py b/askbot/mail/parsing.py index 84604a89..31be6abb 100644 --- a/askbot/mail/parsing.py +++ b/askbot/mail/parsing.py @@ -14,7 +14,7 @@ import sys #to keep them simpler and make the additions of language variants #easier. GMAIL_QUOTE_RE = r'\nOn [^\n]* wrote:\Z' -GMAIL_SECOND_QUOTE_RE = r'\n\d{4}/\d{1,2}/\d{1,2} [^\n]\Z' +GMAIL_SECOND_QUOTE_RE = r'\n\d{4}/\d{1,2}/\d{1,2} [^\n]*\Z' YAHOO_QUOTE_RE = r'\n_+\n\s*From: [^\n]+\nTo: [^\n]+\nSent: [^\n]+\nSubject: [^\n]+\Z' KMAIL_QUOTE_RE = r'\AOn [^\n]+ you wrote:\s*\n\n' OUTLOOK_RTF_QUOTE_RE = r'\nSubject: [^\n]+\nFrom: [^\n]+\nTo: [^\n]+\nDate: [^\n]+\Z' |