![](https://secure.gravatar.com/avatar/e79f226aa442b589932230491affa641.jpg?s=120&d=mm&r=g)
29 Jul
2006
29 Jul
'06
11:45 p.m.
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