[OS X TeX] regexp for matching entire footnotes
Kino
quinon at rio.odn.ne.jp
Sun Jul 30 17:13:42 CEST 2006
On Sunday, 2006-07-30, at 23:45:23 +0900, Martin Costabel wrote:
>> Am 30.07.2006 um 16:06 schrieb Kino:
>>
>>>>> \\footnote{(?<re>[^{}]*(?:{\g<re>[^{}]*}[^{}]*)*)}
> Even the following simplification of the above works for me
> (TeXshop 2.09b)
>
> \\footnote{(?<re>[^{}]*({\g<re>}[^{}]*)*)}
Ah, that's clever. To tell the truth, I don't understand well how my
expression works ;-) In order to compose it, I looked at
SubEthaEdit's Regular Expression Help which is the same as
'TeXShop.app/Contents/Frameworks/OgreKit.framework/Versions/A/
Resources/Documentation/OniGuruma/RE'.
Kino
------------------------- 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 macostex-archives
mailing list