From b86228cb8f3f79c0f6d71a725995e334ad963118 Mon Sep 17 00:00:00 2001 From: Date: Mon, 3 Jul 2006 10:38:30 -0400 Subject: [PATCH] Removed the requirement that there be whitespace between CONFIRM and not in the mail. --- attachcheck | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.39.5