[OS X TeX] regexp for matching entire footnotes

Martin Costabel costabel at wanadoo.fr
Sun Jul 30 10:45:23 EDT 2006


Sergei Mariev wrote:
> Perhaps I am using an old version of TexShop? (Mine is 2.09a) No matter 
> which options, or no options checked I keep getting the message "never 
> ending recursion"....
> 
> Am 30.07.2006 um 16:06 schrieb Kino:
> 
>>>> \\footnote{(?<re>[^{}]*(?:{\g<re>[^{}]*}[^{}]*)*)}

For me it works (thanks, Kino!)
Even the following simplification of the above works for me (TeXshop 2.09b)

\\footnote{(?<re>[^{}]*({\g<re>}[^{}]*)*)}

-- 
Martin
------------------------- 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