From 3c4ce0a29fa125093c427a9144f038ba6d1ee686 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Thu, 22 Dec 2022 11:25:22 -0700 Subject: mailscripts.el: drop an unnecessary shy group Signed-off-by: Sean Whitton --- mailscripts.el | 3 +-- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.3