diff options
author | Richard M. Stallman <rms@gnu.org> | 1996-08-06 18:41:06 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1996-08-06 18:41:06 +0000 |
commit | 3d52d58a996f89a38134003d638d094989e40298 (patch) | |
tree | b6957c1add2b163ac0ea2f24585eed4694b438f0 | |
parent | 7424c13bf833a4ec11662ed8baf6e936886d6600 (diff) | |
download | emacs-3d52d58a996f89a38134003d638d094989e40298.tar.gz |
(rmail-reply-regexp): Match Re[2].
-rw-r--r-- | lisp/mail/rmail.el | 4 |
1 files 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 |