Function: rmail-simplified-subject-regexp

rmail-simplified-subject-regexp is a byte-compiled function defined in rmail.el.gz.

Signature

(rmail-simplified-subject-regexp)

Documentation

Return a regular expression matching the current simplified subject.

The idea is to match it against simplified subjects of other messages.

Source Code

;; Defined in /usr/src/emacs/lisp/mail/rmail.el.gz
(defun rmail-simplified-subject-regexp ()
  "Return a regular expression matching the current simplified subject.
The idea is to match it against simplified subjects of other messages."
  (let ((subject (rmail-simplified-subject)))
    (setq subject (regexp-quote subject))
    ;; Hide commas so it will work ok if parsed as a comma-separated list
    ;; of regexps.
    (setq subject
	  (string-replace "," "\054" subject))
    (concat "\\`" subject "\\'")))