changeset 15820:12c537361366

(rmail-unix-mail-delimiter): Allow space or tab as first character in mailbox part of `From ' line.
author Paul Eggert <eggert@twinsun.com>
date Sat, 03 Aug 1996 02:53:02 +0000
parents 4ab015189fd1
children 226952a0de08
files lisp/mail/rmail.el
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/rmail.el	Thu Aug 01 22:37:47 1996 +0000
+++ b/lisp/mail/rmail.el	Sat Aug 03 02:53:02 1996 +0000
@@ -232,10 +232,15 @@
      ;;		From: Joe User
      ;;			<joe@y.z>
      ;; can yield `From Joe User Fri Mar 22 08:11:15 1996'.
+     ;; The mailbox can be removed or be replaced by white space, e.g.
+     ;;		From: "Joe User"{space}{tab}
+     ;;			<joe@y.z>
+     ;; can yield `From {space}{tab} Fri Mar 22 08:11:15 1996',
+     ;; where {space} and {tab} represent the Ascii space and tab characters.
      ;; We want to match the results of any of these manglings.
      ;; The following regexp rejects names whose first characters are
      ;; obviously bogus, but after that anything goes.
-     "\\([^\0-\r \^?].*\\)? "
+     "\\([^\0-\b\n-\r\^?].*\\)? "
 
      ;; The time the message was sent.
      "\\([^\0-\r \^?]+\\) +"				; day of the week