Variable: semantic-texi-environment-regexp

semantic-texi-environment-regexp is a variable defined in texi.el.gz.

Value

"^@\\(c\\(?:artouche\\|opying\\)\\|d\\(?:e\\(?:f\\(?:cv\\|fn\\|ivar\\|m\\(?:ac\\|ethod\\)\\|opt?\\|spec\\|t\\(?:p\\|ype\\(?:cv\\|f\\(?:u?n\\)\\|ivar\\|method\\|op\\|v\\(?:a?r\\)\\)\\)\\|un\\|v\\(?:a?r\\)\\)\\|scription\\|tailmenu\\)\\|i\\(?:\\(?:rentr\\|spla\\)y\\)\\|ocumentdescription\\)\\|e\\(?:n\\(?:d\\|umerate\\)\\|xample\\)\\|f\\(?:lush\\(?:\\(?:lef\\|righ\\)t\\)\\|ormat\\|table\\)\\|group\\|html\\|i\\(?:f\\(?:clear\\|html\\|info\\|not\\(?:html\\|info\\|plaintext\\|tex\\)\\|plaintext\\|set\\|tex\\)\\|\\(?:gnor\\|temiz\\)e\\)\\|lisp\\|m\\(?:acro\\|enu\\|ultitable\\)\\|quotation\\|small\\(?:display\\|example\\|format\\|lisp\\)\\|t\\(?:able\\|ex\\|itlepage\\)\\|v\\(?:erbatim\\|table\\)\\)\\>"

Documentation

Regular expression for matching texinfo environments.

uses texinfo-environment-regexp, but makes sure that it can handle the @menu environment.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/texi.el.gz
;;; Overrides: Context Parsing
;;
;; How to treat texi as a language?
;;
(defvar semantic-texi-environment-regexp
  (if (string-match texinfo-environment-regexp "@menu")
      ;; Make sure our Emacs has menus in it.
      texinfo-environment-regexp
    ;; If no menus, then merge in the menu concept.
    (when (string-match "cartouche" texinfo-environment-regexp)
      (concat (substring texinfo-environment-regexp
			 0 (match-beginning 0))
	      "menu\\|"
	       (substring texinfo-environment-regexp
			 (match-beginning 0)))))
  "Regular expression for matching texinfo environments.
uses `texinfo-environment-regexp', but makes sure that it
can handle the @menu environment.")