From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/29797 Path: news.gmane.org!not-for-mail From: =?ISO-8859-15?Q?Peter_M=FCnster?= Newsgroups: gmane.comp.tex.context Subject: Re: regexp for matching entire footnotes Date: Sun, 30 Jul 2006 09:08:20 +0200 (CEST) Message-ID: References: <8D7F3353-7D39-460A-9688-07E83AD19192@st.estfiles.de> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1154243377 28253 80.91.229.2 (30 Jul 2006 07:09:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 30 Jul 2006 07:09:37 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sun Jul 30 09:09:33 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 1G75Qa-0002d1-QL for gctc-ntg-context-518@m.gmane.org; Sun, 30 Jul 2006 09:09:32 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 37D1C1FE88; Sun, 30 Jul 2006 09:09:32 +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 27869-05; Sun, 30 Jul 2006 09:09:27 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B5CF31FE8B; Sun, 30 Jul 2006 09:09:26 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CD93D1FE8B for ; Sun, 30 Jul 2006 09:09:22 +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 29147-01 for ; Sun, 30 Jul 2006 09:09:18 +0200 (CEST) Original-Received: from smtp.cegetel.net (mf00.sitadelle.com [212.94.174.67]) by ronja.ntg.nl (Postfix) with SMTP id 230221FE88 for ; Sun, 30 Jul 2006 09:09:17 +0200 (CEST) Original-Received: from gaston.pm (unknown [84.7.236.53]) by smtp.cegetel.net (Postfix) with ESMTP id 9588D1A44F2 for ; Sun, 30 Jul 2006 09:09:16 +0200 (CEST) Original-Received: by gaston.pm (Postfix, from userid 500) id 28E0C7E4014; Sun, 30 Jul 2006 09:08:20 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by gaston.pm (Postfix) with ESMTP id 1A55F5B8153 for ; Sun, 30 Jul 2006 09:08:20 +0200 (CEST) X-X-Sender: peter@gaston.pm Original-To: mailing list for ConTeXt users In-Reply-To: <8D7F3353-7D39-460A-9688-07E83AD19192@st.estfiles.de> 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:29797 Archived-At: 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/