Function: mail--wrap-re-regexp

mail--wrap-re-regexp is a byte-compiled function defined in mail-utils.el.gz.

Signature

(mail--wrap-re-regexp RE)

Source Code

;; Defined in /usr/src/emacs/lisp/mail/mail-utils.el.gz
(defun mail--wrap-re-regexp (re)
  (concat "\\`[ \t]*"
          "\\("
          re
          ; Re(1) or Re[1] or Re^1
          "\\(([0-9]+)\\|\\[[0-9]+\\]\\|\\^[0-9]+\\)?"
          ; SPC/NBSP followed by various colon variants and TAB/SPC
          " ?\u00a0*"
          "[" password-colon-equivalents "]"
          "[ \t]*"
          ; Handle repetition, eg "Re[1]: Re[2]:"
          "\\)*"
          "[ \t]*"))