Function: LaTeX-environment-name-regexp
LaTeX-environment-name-regexp is a byte-compiled function defined in
latex.el.
Signature
(LaTeX-environment-name-regexp)
Documentation
Return the regexp matching the name of a LaTeX environment.
This matches everything different from a TeX closing brace but allowing one level of TeX group braces.
Source Code
;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/latex.el
(defun LaTeX-environment-name-regexp ()
"Return the regexp matching the name of a LaTeX environment.
This matches everything different from a TeX closing brace but
allowing one level of TeX group braces."
(concat "\\([^" TeX-grcl TeX-grop "]*\\(" (regexp-quote TeX-grop)
"[^" TeX-grcl TeX-grop "]*" (regexp-quote TeX-grcl) "\\)*[^"
TeX-grcl TeX-grop "]*\\)"))