From: Richard M. Stallman Date: Tue, 6 Aug 1996 18:41:06 +0000 (+0000) Subject: (rmail-reply-regexp): Match Re[2]. X-Git-Tag: emacs-19.34~29 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3d52d58a996f89a38134003d638d094989e40298;p=emacs.git (rmail-reply-regexp): Match Re[2]. --- 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