diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2012-11-07 20:41:15 -0300 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2012-11-07 20:41:15 -0300 |
commit | f10979a56a0256bcdaff818bbeaa5c6d5d8a1248 (patch) | |
tree | 74d8577675ac0afa19c596604734e98d7833760b | |
parent | 5b370fdb6783cddec67edbfae330a4a9dd90ab51 (diff) | |
download | askbot-f10979a56a0256bcdaff818bbeaa5c6d5d8a1248.tar.gz askbot-f10979a56a0256bcdaff818bbeaa5c6d5d8a1248.tar.bz2 askbot-f10979a56a0256bcdaff818bbeaa5c6d5d8a1248.zip |
another fix in the second gmail regex
-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 4b2cbb15..84604a89 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'\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' |