From: tmorioka Date: Mon, 24 Feb 1997 09:02:30 +0000 (+0000) Subject: (quoted-printable-hex-chars, quoted-printable-octet-regexp, X-Git-Tag: Hokutetsu-Ishikawa-new~308 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21bfeef077f57ec495a1dd661cb02d2c9b03daaa;p=elisp%2Fsemi.git (quoted-printable-hex-chars, quoted-printable-octet-regexp, eword-Q-encoded-text-regexp, eword-Q-encoding-and-encoded-text-regexp): New constant; moved from mime-def.el. --- diff --git a/eword-decode.el b/eword-decode.el index 4959ef9..26e85d6 100644 --- a/eword-decode.el +++ b/eword-decode.el @@ -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)) @@ -86,6 +86,20 @@ ;; (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 ;;;