Variable: etags-regen-regexp-alist

etags-regen-regexp-alist is a customizable variable defined in etags-regen.el.gz.

Value

nil

Documentation

Mapping of languages to etags regexps for etags-regen-mode(var)/etags-regen-mode(fun).

These regexps are used in addition to the tags made with the standard parsing based on the language.

The value must be a list where each element has the form (LANGUAGES . TAG-REGEXPS) where both LANGUAGES and TAG-REGEXPS are lists of strings.

Each language should be one of the recognized by etags, see etags --help. Each tag regexp should be a string in the format documented for the --regex arguments (without {language}).

We currently support only Emacs's etags program with this option.

This variable was added, or its default value changed, in Emacs 30.1.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/etags-regen.el.gz
(defcustom etags-regen-regexp-alist nil
  "Mapping of languages to etags regexps for `etags-regen-mode'.

These regexps are used in addition to the tags made with the
standard parsing based on the language.

The value must be a list where each element has the
form (LANGUAGES . TAG-REGEXPS) where both LANGUAGES and
TAG-REGEXPS are lists of strings.

Each language should be one of the recognized by etags, see
`etags --help'.  Each tag regexp should be a string in the format
documented for the `--regex' arguments (without `{language}').

We currently support only Emacs's etags program with this option."
  :type '(repeat
          (cons
           :tag "Languages group"
           (repeat (string :tag "Language name"))
           (repeat (string :tag "Tag Regexp"))))
  :version "30.1")