30 Jul
2006
30 Jul
'06
5:45 a.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