* 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

_______________________________________________
bug-auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-auctex

Reply via email to