(quoted-printable-hex-chars, quoted-printable-octet-regexp,
authortmorioka <tmorioka>
Mon, 24 Feb 1997 09:02:30 +0000 (09:02 +0000)
committertmorioka <tmorioka>
Mon, 24 Feb 1997 09:02:30 +0000 (09:02 +0000)
eword-Q-encoded-text-regexp,
eword-Q-encoding-and-encoded-text-regexp): New constant; moved from
mime-def.el.

eword-decode.el

index 4959ef9..26e85d6 100644 (file)
@@ -10,7 +10,7 @@
 ;;     Renamed: 1993/06/03 to tiny-mime.el
 ;;     Renamed: 1995/10/03 from tiny-mime.el (split off encoder)
 ;;     Renamed: 1997/02/22 from tm-ew-d.el
-;; Version: $Revision: 0.6 $
+;; Version: $Revision: 0.7 $
 ;; Keywords: encoded-word, MIME, multilingual, header, mail, news
 
 ;; This file is part of SEMI (SEMI is Emacs MIME Interfaces).
@@ -41,7 +41,7 @@
 ;;;
 
 (defconst eword-decode-RCS-ID
-  "$Id: eword-decode.el,v 0.6 1997-02-24 08:58:33 tmorioka Exp $")
+  "$Id: eword-decode.el,v 0.7 1997-02-24 09:02:30 tmorioka Exp $")
 (defconst eword-decode-version (get-version-string eword-decode-RCS-ID))
 
 
 ;;   (concat "\\(B\\)\\?" eword-B-encoded-text-regexp))
 
 
+;;; @@ Quoted-Printable
+;;;
+
+(defconst quoted-printable-hex-chars "0123456789ABCDEF")
+(defconst quoted-printable-octet-regexp
+  (concat "=[" quoted-printable-hex-chars
+         "][" quoted-printable-hex-chars "]"))
+
+(defconst eword-Q-encoded-text-regexp
+  (concat "\\([^=?]\\|" quoted-printable-octet-regexp "\\)+"))
+(defconst eword-Q-encoding-and-encoded-text-regexp
+  (concat "\\(Q\\)\\?" eword-Q-encoded-text-regexp))
+
+
 ;;; @ for string
 ;;;