;; Copyright (C) 1995,1996,1997 Free Software Foundation, Inc.
;; Author: MORIOKA Tomohiko <morioka@jaist.ac.jp>
-;; Version: $Id: mime-def.el,v 0.55 1997-07-02 16:43:25 morioka Exp $
+;; Version: $Id: mime-def.el,v 0.56 1997-07-02 16:55:41 morioka Exp $
;; Keywords: definition, MIME, multimedia, mail, news
;; This file is part of SEMI (SEMI is Emacs MIME Interfaces).
(defconst mime-token-regexp (concat "[^" mime-tspecials "]+"))
(defconst mime-charset-regexp mime-token-regexp)
-(defconst mime/content-type-subtype-regexp
+(defconst mime-media-type/subtype-regexp
(concat mime-token-regexp "/" mime-token-regexp))
(defconst mime/disposition-type-regexp mime-token-regexp)
;; Copyright (C) 1994,1995,1996,1997 Free Software Foundation, Inc.
;; Author: MORIOKA Tomohiko <morioka@jaist.ac.jp>
-;; Version: $Id: mime-parse.el,v 0.9 1997-07-02 16:43:26 morioka Exp $
+;; Version: $Id: mime-parse.el,v 0.10 1997-07-02 16:55:42 morioka Exp $
;; Keywords: parse, MIME, multimedia, mail, news
;; This file is part of SEMI (SEMI is Emacs MIME Interfaces).
(substring str e)
))))
-(defconst mime::ctype-regexp (concat "^" mime/content-type-subtype-regexp))
+(defconst mime::ctype-regexp (concat "^" mime-media-type/subtype-regexp))
(defun mime-parse-Content-Type (string)
- "Parse STRING as field-body of Content-Type field. [mime-parse.el]"
+ "Parse STRING as field-body of Content-Type field."
(setq string (std11-unfold-string string))
(if (string-match mime::ctype-regexp string)
(let* ((e (match-end 0))
(defconst mime::dtype-regexp (concat "^" mime/disposition-type-regexp))
(defun mime-parse-Content-Disposition (string)
- "Parse STRING as field-body of Content-Disposition field. [mime-parse.el]"
+ "Parse STRING as field-body of Content-Disposition field."
(setq string (std11-unfold-string string))
(if (string-match mime::dtype-regexp string)
(let* ((e (match-end 0))