From bf41c443106f98b0bcfd32ab9d240deb1c5d2b0f Mon Sep 17 00:00:00 2001 From: msapiro <> Date: Sun, 22 Jan 2006 20:34:20 +0000 Subject: Fixed bad escape '\0176' in re. --- bin/cleanarch | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'bin') diff --git a/bin/cleanarch b/bin/cleanarch index 6bc780d2..a8485333 100644 --- a/bin/cleanarch +++ b/bin/cleanarch @@ -1,6 +1,6 @@ #! @PYTHON@ -# Copyright (C) 2001-2003 by the Free Software Foundation, Inc. +# Copyright (C) 2001-2006 by the Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -14,7 +14,8 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +# USA. """Clean up an .mbox archive file. @@ -59,7 +60,7 @@ cre = re.compile(mailbox.UnixMailbox._fromlinepattern) # From RFC 2822, a header field name must contain only characters from 33-126 # inclusive, excluding colon. I.e. from oct 41 to oct 176 less oct 072. Must # use re.match() so that it's anchored at the beginning of the line. -fre = re.compile(r'[\041-\071\073-\0176]+') +fre = re.compile(r'[\041-\071\073-\176]+') -- cgit v1.2.3