# HG changeset patch # User Richard M. Stallman # Date 839356866 0 # Node ID aa7b0c77a89a260a45f9d6b4647d53399ecab9ed # Parent 0b6735ce85ac3f298a4d9182d047865dbe4fe670 (rmail-reply-regexp): Match Re[2]. diff -r 0b6735ce85ac -r aa7b0c77a89a lisp/mail/rmail.el --- 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