changeset 13192:c7174381d5d9

(mail-strip-quoted-names): Preserve white space after comma when stripping text outside of <> delims.
author Richard M. Stallman <rms@gnu.org>
date Wed, 11 Oct 1995 21:05:53 +0000
parents cb145d50f910
children a25a4f1246c0
files lisp/mail/mail-utils.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/mail-utils.el	Wed Oct 11 17:24:37 1995 +0000
+++ b/lisp/mail/mail-utils.el	Wed Oct 11 21:05:53 1995 +0000
@@ -116,7 +116,7 @@
 		 (mail-string-delete address
 				     pos (match-end 0)))))
        ;; Retain only part of address in <> delims, if there is such a thing.
-       (while (setq pos (string-match "\\(,\\|\\`\\)[^,]*<\\([^>,]*>\\)"
+       (while (setq pos (string-match "\\(,\\s-*\\|\\`\\)[^,]*<\\([^>,]*>\\)"
 				      address))
 	 (let ((junk-beg (match-end 1))
 	       (junk-end (match-beginning 2))