From: Date: Sun, 12 Apr 2009 22:06:28 +0000 (-0400) Subject: require a space after confirm X-Git-Url: https://projects.mako.cc/source/attachcheck/commitdiff_plain/6365b7fdcfabce5f929e2608deaab73bd3989142?ds=inline;hp=6b8be33cc53c75c48d64396d982eca1c044172e9 require a space after confirm --- 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()