ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* regexp for matching entire footnotes
@ 2006-07-30  5:45 Steffen Wolfrum
  2006-07-30  7:08 ` Peter Münster
  2006-07-30 12:27 ` Sanjoy Mahajan
  0 siblings, 2 replies; 4+ messages in thread
From: Steffen Wolfrum @ 2006-07-30  5:45 UTC (permalink / raw)


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{Name}, „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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-07-30 19:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-30  5:45 regexp for matching entire footnotes Steffen Wolfrum
2006-07-30  7:08 ` Peter Münster
2006-07-30 12:27 ` Sanjoy Mahajan
2006-07-30 19:28   ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).