|
From: | emacs user |
Subject: | Re: [Bug-AUCTeX] 2013-10-14; highlighting of \cite[] commands |
Date: | Sun, 10 Nov 2013 14:27:38 +0200 |
* emacs user (2013-11-09) writes:
> closing brace of the second one
Strange.
I've stripped some stuff from the code which should not be relevant for
the case at hand. Does the following code also make point end up behind
the second closing brace?
(re-search-forward "\\\\cite[A-Za-z]*\\(\\[.*\\]\\)?{[^}]*}" nil t)
And does the following statement lead to a different result?
(re-search-forward "\\\\cite[A-Za-z]*\\(\\[[^]]*\\]\\)*{[^}]*}" nil t)
--
Ralf
[Prev in Thread] | Current Thread | [Next in Thread] |