Variable: org-heading-regexp

org-heading-regexp is a variable defined in org.el.gz.

Value

"^\\(\\*+\\)\\(?: +\\(.*?\\)\\)?[       ]*$"

Documentation

Matches a headline, putting stars and text into groups.

Stars are put in group 1 and the trimmed body in group 2.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org.el.gz
(defvar org-heading-regexp "^\\(\\*+\\)\\(?: +\\(.*?\\)\\)?[ \t]*$"
  "Matches a headline, putting stars and text into groups.
Stars are put in group 1 and the trimmed body in group 2.")