From 6365b7fdcfabce5f929e2608deaab73bd3989142 Mon Sep 17 00:00:00 2001 From: Date: Sun, 12 Apr 2009 18:06:28 -0400 Subject: [PATCH] require a space after confirm --- attachcheck | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/attachcheck b/attachcheck index 20e16c8..5864de0 100755 --- a/attachcheck +++ b/attachcheck @@ -125,7 +125,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