[NTG-context] regexp for matching entire footnotes

Peter Münster pmlists at free.fr
Sun Jul 30 09:08:20 CEST 2006


On Sun, 30 Jul 2006, Steffen Wolfrum wrote:

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

Perhaps, a regular expression is not the right tool for your needs, but you
could try something like
'[\]footnote\{[^{}]*([^{}]*\{[^{}]*\}[^{}]*)*[^{}]*\}'.
Cheers, Peter

-- 
http://pmrb.free.fr/contact/


More information about the ntg-context mailing list