]> git.eshelyaron.com Git - emacs.git/commitdiff
(rmail-mime-charset-pattern): Add optional TABs
authorEli Zaretskii <eliz@gnu.org>
Sun, 31 Jan 1999 14:49:43 +0000 (14:49 +0000)
committerEli Zaretskii <eliz@gnu.org>
Sun, 31 Jan 1999 14:49:43 +0000 (14:49 +0000)
and NLs before "charset", and allow the charset name be in double
quotes.

lisp/mail/rmail.el

index 6b9ea1b019d6f2c5c2803181dfa105d9088983f8..6aed2263498136ed91bd867ab8a3bb6915fbd926 100644 (file)
@@ -371,7 +371,7 @@ the variable `rmail-mime-feature'.")
 
 ;;;###autoload
 (defvar rmail-mime-charset-pattern
-  "^content-type:[ ]*text/plain;[ ]*charset=\\([^ \t\n]+\\)"
+  "^content-type:[ ]*text/plain;[ \t\n]*charset=\"?\\([^ \t\n\"]+\\)\"?"
   "Regexp to match MIME-charset specification in a header of message.
 The first parenthesized expression should match the MIME-charset name.")