Variable: outline-comment-regexp-suffix

outline-comment-regexp-suffix is a customizable variable defined in outline.el.gz.

Value

" \\([*]+\\)"

Documentation

Regexp matching a heading marker that follows the comment prefix.

This is appended to the comment prefix to construct a default value for outline-regexp when outline-use-comment-regexp is non-nil and outline-comment-regexp is nil. Group 1 must match the heading-level characters; the heading level is the length of that group's match.

The default value matches a space followed by one or more stars, so that headings look like ";; *", ";; **", and so on. Set it buffer-locally to use a different separator or level character.

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

Probably introduced at or before Emacs version 32.1.

Source Code

;; Defined in /usr/src/emacs/lisp/outline.el.gz
(defcustom outline-comment-regexp-suffix " \\([*]+\\)"
  "Regexp matching a heading marker that follows the comment prefix.
This is appended to the comment prefix to construct a default value for
`outline-regexp' when `outline-use-comment-regexp' is non-nil and
`outline-comment-regexp' is nil.  Group 1 must match the heading-level
characters; the heading level is the length of that group's match.

The default value matches a space followed by one or more stars, so that
headings look like \";; *\", \";; **\", and so on.  Set it buffer-locally
to use a different separator or level character."
  :type 'regexp
  :group 'outlines
  :version "32.1")