require a space after confirm
[attachcheck] / attachcheck
index 20e16c8..5864de0 100755 (executable)
@@ -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()
 

Benjamin Mako Hill || Want to submit a patch?