From 3d52d58a996f89a38134003d638d094989e40298 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 6 Aug 1996 18:41:06 +0000 Subject: [PATCH] (rmail-reply-regexp): Match Re[2]. --- lisp/mail/rmail.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index 4a504425af0..8f6e86d6f0a 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el @@ -154,9 +154,9 @@ before obeying `rmail-ignored-headers'.") (defvar rmail-reply-prefix "Re: " "String to prepend to Subject line when replying to a message.") -;; Some mailers use "Re(2):" or "Re^2:" or "Re: Re:". +;; Some mailers use "Re(2):" or "Re^2:" or "Re: Re:" or "Re[2]". ;; This pattern should catch all the common variants. -(defvar rmail-reply-regexp "\\`\\(Re\\(([0-9]+)\\|\\^[0-9]+\\)?: *\\)*" +(defvar rmail-reply-regexp "\\`\\(Re\\(([0-9]+)\\|\\[[0-9]+\\]\\|\\^[0-9]+\\)?: *\\)*" "Regexp to delete from Subject line before inserting `rmail-reply-prefix'.") (defvar rmail-display-summary nil -- 2.11.4.GIT