diff options
-rw-r--r-- | mailscripts.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mailscripts.el b/mailscripts.el index 3d9183e..6f49bd8 100644 --- a/mailscripts.el +++ b/mailscripts.el @@ -221,8 +221,7 @@ git-format-patch(1)." (lambda (h) (and-let* ((filename (cdr (assq 'filename (mm-handle-disposition h))))) - (string-match - "\\`\\(?:v?[0-9]+\\)-.+\\.\\(?:patch\\|diff\\|txt\\)\\'" + (string-match "\\`v?[0-9]+-.+\\.\\(?:patch\\|diff\\|txt\\)\\'" filename))) handles) (cond (handles |