From ae70eb7c36b8a5e4f58bc7b0100e6b15710390a0 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sat, 26 Nov 2005 16:32:36 +0000 Subject: Bug #698706: imaplib parsing INTERNALDATE backport --- Lib/imaplib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/imaplib.py b/Lib/imaplib.py index f353015..6b0576f 100644 --- a/Lib/imaplib.py +++ b/Lib/imaplib.py @@ -81,7 +81,7 @@ Commands = { Continuation = re.compile(r'\+( (?P.*))?') Flags = re.compile(r'.*FLAGS \((?P[^\)]*)\)') InternalDate = re.compile(r'.*INTERNALDATE "' - r'(?P[ 123][0-9])-(?P[A-Z][a-z][a-z])-(?P[0-9][0-9][0-9][0-9])' + r'(?P[ 0123][0-9])-(?P[A-Z][a-z][a-z])-(?P[0-9][0-9][0-9][0-9])' r' (?P[0-9][0-9]):(?P[0-9][0-9]):(?P[0-9][0-9])' r' (?P[-+])(?P[0-9][0-9])(?P[0-9][0-9])' r'"') -- cgit v0.12