branch: externals/debbugs commit af445940e35a7d60799832a907b9d24197d4a996 Author: Maxim Cournoyer <maxim.courno...@gmail.com> Commit: Michael Albinus <michael.albi...@gmx.de>
Refine the debbugs-gnu-summary-keep-subject regexp, again. Modify the regexp so that lines containing just "[PATCH]" are also matched. * debbugs-gnu.el (debbugs-gnu-summary-keep-subject): Refine regexp and comments. --- debbugs-gnu.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debbugs-gnu.el b/debbugs-gnu.el index 3046243dc3..a75274c17e 100644 --- a/debbugs-gnu.el +++ b/debbugs-gnu.el @@ -1921,10 +1921,10 @@ MERGED is the list of bugs merged with this one." ;; --subject-prefix='PATCH trailing-prefix' as well as ;; --reroll-count=n. (rx "[" (? (1+ (not space)) space) ;leading prefix? - "PATCH " + "PATCH" (? space) (? (1+ (not space)) space) ;trailing prefix? (? "v" (1+ digit) space) ;optional reroll count - (1+ digit) "/" (1+ digit) "]") ;patch number + (? (1+ digit) "/" (1+ digit)) "]") ;optional patch number "Regular expression which keeps the original message subject in replies." :version "30.1" :type 'regexp)