]> git.eshelyaron.com Git - emacs.git/commitdiff
(rmail-reply-regexp): Match Re[2].
authorRichard M. Stallman <rms@gnu.org>
Tue, 6 Aug 1996 18:41:06 +0000 (18:41 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 6 Aug 1996 18:41:06 +0000 (18:41 +0000)
lisp/mail/rmail.el

index 4a504425af0cf828781764ad16c59141ee1eaf91..8f6e86d6f0a73471a6f6c5021c386fd6c76cd289 100644 (file)
@@ -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