changeset 15833:aa7b0c77a89a

(rmail-reply-regexp): Match Re[2].
author Richard M. Stallman <rms@gnu.org>
date Tue, 06 Aug 1996 18:41:06 +0000
parents 0b6735ce85ac
children 71ede15e1ca3
files lisp/mail/rmail.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/rmail.el	Tue Aug 06 18:31:45 1996 +0000
+++ b/lisp/mail/rmail.el	Tue Aug 06 18:41:06 1996 +0000
@@ -154,9 +154,9 @@
 (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