From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/29796 Path: news.gmane.org!not-for-mail From: Steffen Wolfrum Newsgroups: gmane.comp.tex.context Subject: regexp for matching entire footnotes Date: Sun, 30 Jul 2006 07:45:49 +0200 Message-ID: <8D7F3353-7D39-460A-9688-07E83AD19192@st.estfiles.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1154238372 20091 80.91.229.2 (30 Jul 2006 05:46:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 30 Jul 2006 05:46:12 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sun Jul 30 07:46:09 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1G747p-0000X1-P6 for gctc-ntg-context-518@m.gmane.org; Sun, 30 Jul 2006 07:46:05 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F09821FE88; Sun, 30 Jul 2006 07:46:04 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 25219-03-2; Sun, 30 Jul 2006 07:45:59 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C092E1FE78; Sun, 30 Jul 2006 07:45:59 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 74E8D1FE77 for ; Sun, 30 Jul 2006 07:45:56 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 25219-03 for ; Sun, 30 Jul 2006 07:45:52 +0200 (CEST) Original-Received: from smtprelay01.ispgateway.de (smtprelay01.ispgateway.de [80.67.18.13]) by ronja.ntg.nl (Postfix) with SMTP id 631D21FE78 for ; Sun, 30 Jul 2006 07:45:51 +0200 (CEST) Original-Received: (qmail 27656 invoked from network); 30 Jul 2006 05:45:50 -0000 Original-Received: from unknown (HELO [87.193.15.205]) (698580@[87.193.15.205]) (envelope-sender ) by smtprelay01.ispgateway.de (qmail-ldap-1.03) with SMTP for ; 30 Jul 2006 05:45:50 -0000 Original-To: mailing list for ConTeXt users X-Mailer: Apple Mail (2.752.2) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:29796 Archived-At: 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}, =84Staatssekret=E4r\index = {Staatssekret=E4r}} ... 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