Commit da5628f2 authored by Barry Warsaw's avatar Barry Warsaw

Fix an inaccuracy in the comment

parent 454602f0
...@@ -137,8 +137,8 @@ class UnixMailbox(_Mailbox): ...@@ -137,8 +137,8 @@ class UnixMailbox(_Mailbox):
# _search_end() may not be completely correct, because it doesn't check # _search_end() may not be completely correct, because it doesn't check
# that the two characters preceding "From " are \n\n or the beginning of # that the two characters preceding "From " are \n\n or the beginning of
# the file. Fixing this would require a more extensive rewrite than is # the file. Fixing this would require a more extensive rewrite than is
# necessary. For convenience, we've added a StrictUnixMailbox class which # necessary. For convenience, we've added a PortableUnixMailbox class
# uses the older, more strict _fromlinepattern regular expression. # which uses the more lenient _fromlinepattern regular expression.
_fromlinepattern = r"From \s*[^\s]+\s+\w\w\w\s+\w\w\w\s+\d?\d\s+" \ _fromlinepattern = r"From \s*[^\s]+\s+\w\w\w\s+\w\w\w\s+\d?\d\s+" \
r"\d?\d:\d\d(:\d\d)?(\s+[^\s]+)?\s+\d\d\d\d\s*$" r"\d?\d:\d\d(:\d\d)?(\s+[^\s]+)?\s+\d\d\d\d\s*$"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment