From: Tassilo Horn Date: Mon, 14 Dec 2015 17:23:31 +0000 (+0100) Subject: Fix rx matcher overflow without limiting X-Git-Tag: emacs-25.0.90~471 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fe27e037663d36be3e5741c2ce86ab4ee8017db1;p=emacs.git Fix rx matcher overflow without limiting * lisp/textmodes/reftex-vars.el (reftex-label-regexps): Improve last change to the regexp without imposing a limit on the length of the options. --- diff --git a/lisp/textmodes/reftex-vars.el b/lisp/textmodes/reftex-vars.el index fcab1367f7d..9bc1d2d3af8 100644 --- a/lisp/textmodes/reftex-vars.el +++ b/lisp/textmodes/reftex-vars.el @@ -877,7 +877,17 @@ DOWNCASE t: Downcase words before using them." "\\\\label{\\(?1:[^}]*\\)}" ;; keyvals [..., label = {foo}, ...] forms used by ctable, ;; listings, minted, ... - "\\[[^][]\\{0,2000\\}\\