[OS X TeX] regexp for matching entire footnotes

Steffen Wolfrum osxtex_2 at st.estfiles.de
Sun Jul 30 01:45:04 EDT 2006


Hi,

I have to find (highlight) footnotes with the entire footnote being  
marked/highlighted.
Constructing a regexp for this is far beyond what I can write, that's  
why I frankly ask for help here:

The problems are the (potentially) nested pairs of curled brackets  
(like for \index, \emphasize etc etc) ...

\footnote{Vgl. zur Historie \it{Lerche}, „Staatssekretär\index 
{Staatssekretär}}

... as the found string shouldn't stop at the first "}" that was found.


Somebody knows a syntax that ignores curled bracket pairs *included*  
in footnotes and really matches the entire note?


Steffen
------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the MacOSX-TeX mailing list