From: Date: Mon, 3 Jul 2006 14:38:30 +0000 (-0400) Subject: Removed the requirement that there be whitespace between CONFIRM and X-Git-Url: https://projects.mako.cc/source/attachcheck/commitdiff_plain/b86228cb8f3f79c0f6d71a725995e334ad963118?ds=inline Removed the requirement that there be whitespace between CONFIRM and not in the mail. --- diff --git a/attachcheck b/attachcheck index 1c3c6f9..6a625e9 100755 --- a/attachcheck +++ b/attachcheck @@ -115,7 +115,7 @@ if attachment_expected: # check for the confirmation if re.search( r'Subject: CONFIRM', message_string ): - message_string = re.sub( r'(Subject: )(CONFIRM )(.*?)\n', + message_string = re.sub( r'(Subject: )(CONFIRM)(.*?)\n', r'\1\3\n', message_string ) send_message()