Variable: html-imenu-regexp

html-imenu-regexp is a variable defined in sgml-mode.el.gz.

Value

"\\s-*<h\\([1-9]\\)[^\n<>]*>\\(<[^\n<>]*>\\)*\\s-*\\([^\n<>]*\\)"

Documentation

A regular expression matching a head line to be added to the menu.

The first match-string should be a number from 1-9. The second match-string matches extra tags and is ignored. The third match-string will be the used in the menu.

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/sgml-mode.el.gz
(defvar html-imenu-regexp
  "\\s-*<h\\([1-9]\\)[^\n<>]*>\\(<[^\n<>]*>\\)*\\s-*\\([^\n<>]*\\)"
  "A regular expression matching a head line to be added to the menu.
The first `match-string' should be a number from 1-9.
The second `match-string' matches extra tags and is ignored.
The third `match-string' will be the used in the menu.")