Variable: LaTeX-auto-index-regexp-list
LaTeX-auto-index-regexp-list is a variable defined in latex.el.
Value
(("\\\\\\(?:index\\|glossary\\){\\([^}{]*\\(?:{[^}{]*\\(?:{[^}{]*\\(?:{[^}{]*}[^}{]*\\)*}[^}{]*\\)*}[^}{]*\\)*\\)}" 1 LaTeX-auto-index-entry))
Documentation
List of regular expression matching LaTeX index/glossary entries only.
Regexp allows for up to 3 levels of parenthesis inside the index argument. This is necessary since index entries may contain commands and stuff.
Source Code
;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/latex.el
(defvar LaTeX-auto-index-regexp-list
`((,(concat "\\\\\\(?:index\\|glossary\\)"
"{\\([^}{]*"
"\\(?:{[^}{]*"
"\\(?:{[^}{]*"
"\\(?:{[^}{]*}[^}{]*\\)*}"
"[^}{]*\\)*}"
"[^}{]*\\)*\\)}")
1 LaTeX-auto-index-entry))
"List of regular expression matching LaTeX index/glossary entries only.
Regexp allows for up to 3 levels of parenthesis inside the index argument.
This is necessary since index entries may contain commands and stuff.")