Variable: bibtex-cite-matcher-alist

bibtex-cite-matcher-alist is a customizable variable defined in bibtex.el.gz.

Value

(("\\\\cite[    \n]*{\\([^}]+\\)}" . 1))

Documentation

Alist of rules to identify cited keys in a BibTeX entry.

Each rule should be of the form (REGEXP . SUBEXP), where SUBEXP specifies which parenthesized expression in REGEXP is a cited key. Case is significant. Used by bibtex-search-crossref and for font-locking. Set this variable before loading BibTeX mode.

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

Probably introduced at or before Emacs version 23.1.

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/bibtex.el.gz
(defcustom bibtex-cite-matcher-alist
  '(("\\\\cite[ \t\n]*{\\([^}]+\\)}" . 1))
  "Alist of rules to identify cited keys in a BibTeX entry.
Each rule should be of the form (REGEXP . SUBEXP), where SUBEXP
specifies which parenthesized expression in REGEXP is a cited key.
Case is significant.
Used by `bibtex-search-crossref' and for font-locking.
Set this variable before loading BibTeX mode."
  :group 'bibtex
  :type '(repeat (cons (regexp :tag "Regexp")
                       (integer :tag "Number")))
  :version "23.1")