Fix regex matching keyval labels
* lisp/textmodes/reftex-vars.el (reftex-label-regexps): Fix regexp matching keyval labels.
This commit is contained in:
parent
536f6fc826
commit
93b1067949
1 changed files with 1 additions and 1 deletions
|
@ -877,7 +877,7 @@ DOWNCASE t: Downcase words before using them."
|
|||
"\\\\label{\\(?1:[^}]*\\)}"
|
||||
;; keyvals [..., label = {foo}, ...] forms used by ctable,
|
||||
;; listings, minted, ...
|
||||
"\\[[^[]]*\\<label[[:space:]]*=[[:space:]]*{?\\(?1:[^],}]+\\)}?")
|
||||
"\\[[^][]*\\<label[[:space:]]*=[[:space:]]*{?\\(?1:[^],}]+\\)}?")
|
||||
"List of regexps matching \\label definitions.
|
||||
The default value matches usual \\label{...} definitions and
|
||||
keyval style [..., label = {...}, ...] label definitions. It is
|
||||
|
|
Loading…
Add table
Reference in a new issue