Function: ConTeXt-outline-regexp
ConTeXt-outline-regexp is a byte-compiled function defined in
context.el.
Signature
(ConTeXt-outline-regexp &optional ANYWHERE)
Documentation
Return regexp for ConTeXt section blocks and sections.
If optional argument ANYWHERE is not nil, do not require that the header is at the start of a line.
Source Code
;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/context.el
(defun ConTeXt-outline-regexp (&optional anywhere)
"Return regexp for ConTeXt section blocks and sections.
If optional argument ANYWHERE is not nil, do not require that the
header is at the start of a line."
(concat
(if anywhere "" "^")
"[ \t]*"
(regexp-quote TeX-esc)
"\\("
(mapconcat #'ConTeXt-environment-full-start-name ConTeXt-section-block-list "\\|") "\\|"
(mapconcat #'car ConTeXt-numbered-section-list "\\|") "\\|"
(mapconcat #'car ConTeXt-unnumbered-section-list "\\|")
"\\)\\b"
(if TeX-outline-extra
"\\|"
"")
(mapconcat #'car TeX-outline-extra "\\|")
"\\|" (ConTeXt-header-end) "\\b"
"\\|" (ConTeXt-trailer-start) "\\b"))