Variable: mail-citation-prefix-regexp

mail-citation-prefix-regexp is a customizable variable defined in sendmail.el.gz.

Value

"\\(?:[         ]*\\(?:[[:word:]_.]+>\\|[>|]\\)\\)+"

Documentation

Regular expression to match a citation prefix plus whitespace.

It should match whatever sort of citation prefixes you want to handle, including leading whitespace. The default value matches citations like foo_bar> plus any leading whitespace.

This variable was added, or its default value changed, in Emacs 24.1.

Source Code

;; Defined in /usr/src/emacs/lisp/mail/sendmail.el.gz
;;;###autoload
(defcustom mail-citation-prefix-regexp
  ;; Use [:word:] rather than \w so we don't get tripped up if one
  ;; of those chars has a weird `syntax-table' text property.
  ;; FIXME: Merge with `message-cite-prefix-regexp'.
  "\\(?:[ \t]*\\(?:[[:word:]_.]+>\\|[>|]\\)\\)+"
  "Regular expression to match a citation prefix plus whitespace.
It should match whatever sort of citation prefixes you want to handle,
including leading whitespace.  The default value matches citations
like `foo_bar>' plus any leading whitespace."
  :type 'regexp
  :version "24.1")