Allow empty encoded word.
authorHrvoje Niksic <hniksic@xemacs.org>
Thu, 2 Nov 2000 10:52:10 +0000 (10:52 +0000)
committerHrvoje Niksic <hniksic@xemacs.org>
Thu, 2 Nov 2000 10:52:10 +0000 (10:52 +0000)
lisp/ChangeLog
lisp/rfc2047.el

index ecdbb04..945b6ed 100644 (file)
@@ -1,3 +1,8 @@
+2000-11-02  Hrvoje Niksic  <hniksic@arsdigita.com>
+
+       * rfc2047.el (rfc2047-encoded-word-regexp): Allow empty encoded
+       word.
+
 2000-11-01 10:07:13  ShengHuo ZHU  <zsh@cs.rochester.edu>
 
        * gnus-art.el (gnus-mime-display-part): Add to signed or encrypted.
index e663384..fa18f9d 100644 (file)
@@ -413,7 +413,7 @@ Should be called narrowed to the head of the message."
 ;;;
 
 (defvar rfc2047-encoded-word-regexp
-  "=\\?\\([^][\000-\040()<>@,\;:\\\"/?.=]+\\)\\?\\(B\\|Q\\)\\?\\([!->@-~ +]+\\)\\?=")
+  "=\\?\\([^][\000-\040()<>@,\;:\\\"/?.=]+\\)\\?\\(B\\|Q\\)\\?\\([!->@-~ +]*\\)\\?=")
 
 (defun rfc2047-decode-region (start end)
   "Decode MIME-encoded words in region between START and END."