Function: gnus-uu-part-number
gnus-uu-part-number is a byte-compiled function defined in
gnus-uu.el.gz.
Signature
(gnus-uu-part-number ARTICLE)
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/gnus-uu.el.gz
(defun gnus-uu-part-number (article)
(let* ((header (gnus-summary-article-header article))
(subject (and header (mail-header-subject header)))
(part nil))
(if subject
(while (string-match "[0-9]+/[0-9]+\\|[0-9]+[ \t]+of[ \t]+[0-9]+"
subject)
(setq part (match-string 0 subject))
(setq subject (substring subject (match-end 0)))))
(or part
(while (string-match "[0-9]+[^0-9]+[0-9]+" subject)
(setq part (match-string 0 subject))
(setq subject (substring subject (match-end 0)))))
(or part "")))