]> projects.mako.cc - attachcheck/commitdiff
require a space after confirm
author<mako@atdot.cc> <>
Sun, 12 Apr 2009 22:06:28 +0000 (18:06 -0400)
committer<mako@atdot.cc> <>
Sun, 12 Apr 2009 22:06:28 +0000 (18:06 -0400)
attachcheck

index 20e16c861ce13aaaa674783ea620adbcd88ab882..5864de09e1ae0e4d89960e6ad81cbf124b58a17d 100755 (executable)
@@ -125,7 +125,7 @@ if attachment_expected:
         # check for the confirmation
 
         if re.search( r'Subject: CONFIRM', message_string ):
         # 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()
 
                                      r'\1\3\n', message_string )
             send_message()
 

Benjamin Mako Hill || Want to submit a patch?