Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 91548 invoked from network); 26 Sep 2005 20:38:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 Sep 2005 20:38:40 -0000 Received: (qmail 15911 invoked by uid 500); 26 Sep 2005 20:38:35 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 15610 invoked by uid 500); 26 Sep 2005 20:38:34 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 15597 invoked by uid 99); 26 Sep 2005 20:38:34 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Sep 2005 13:38:34 -0700 X-ASF-Spam-Status: No, hits=1.1 required=10.0 tests=HTML_60_70,HTML_IMAGE_ONLY_20,HTML_MESSAGE,HTML_TAG_EXIST_TBODY,RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of andrewgoktepe@gmail.com designates 64.233.162.205 as permitted sender) Received: from [64.233.162.205] (HELO zproxy.gmail.com) (64.233.162.205) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Sep 2005 13:38:40 -0700 Received: by zproxy.gmail.com with SMTP id m22so298039nzf for ; Mon, 26 Sep 2005 13:38:12 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:references; b=hJEF0KHmIIacBEFmjaKoKrkAM+un+Y1K2is3HIAjh9MrQOhxpNDWdXvg3Y6kRFyo0luIOG/h5Tmca5vFebLvws95N7v/53f/AOqz2wUsSwN05g/N//qJAiFxR3BVjuuEjYNJ1UodRQEEyB+yYRUKoY5inKyxKAJhbgGAC1p3KCw= Received: by 10.54.11.23 with SMTP id 23mr1406577wrk; Mon, 26 Sep 2005 13:38:11 -0700 (PDT) Received: by 10.54.118.5 with HTTP; Mon, 26 Sep 2005 13:38:11 -0700 (PDT) Message-ID: <98c2b60d050926133853967b45@mail.gmail.com> Date: Mon, 26 Sep 2005 15:38:11 -0500 From: Andrew Goktepe Reply-To: Andrew Goktepe To: Ant Users List Subject: Re: Regexp patterns In-Reply-To: <433859F8.9090608@sfw.com.br> MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_2581_5170071.1127767091788" References: <433859F8.9090608@sfw.com.br> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_2581_5170071.1127767091788 Content-Type: multipart/alternative; boundary="----=_Part_2580_14312898.1127767091788" ------=_Part_2580_14312898.1127767091788 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Are you replacing the same string for all 4 patterns? -Andrew On 9/26/05, Jo=E3o Augusto Charnet wrote: > > Hello, > I'm need to do 4 replaces in more than 100 files, using replaceregexp > task. > My problem is that I'm doing 4 times the replaceregexp task, and it's > beeing to costly. > Is there a way I can tell the replaceregexp task to find more than one > pattern in a file, instead of only one ? > > Thanks a lot. > John > -- > > *Softway & Softcomex* > > *Jo=E3o Augusto Charnet* > Computer Engineer - R&D Team > > *Phone/Fax: 55 19 3739-9261 > E-mail: joao.charnet@sfw.com.br > R. Conceicao, 233 - Cj, 609 - Centro > 13010-050 - Campinas - SP - Brazil > * > ------=_Part_2580_14312898.1127767091788 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
Are you replacing the same string for all 4 patterns?
 
-Andrew

 
On 9/26/05, = Jo=E3o Augusto Charnet <j= oao.charnet@sfw.com.br> wrote:
Hello,
I'm need to do 4 replaces in mor= e than 100 files, using replaceregexp task.
My problem is that I'm doing 4 times the replaceregexp task, and it's b= eeing to costly.
Is there a way I can tell the replaceregexp task to fin= d more than one pattern in a file, instead of only one ?

Thanks a lo= t.
John
--
=

Softway & Softcomex

Jo= =E3o Augusto Charnet
Computer Engineer - R&D Team

Phone/Fax: 55 19 3739-9261
E-mail: joao.charnet@sfw.com.br
R. Conceicao, 233 - Cj, 609 - Cent= ro
13010-050 - Campinas - SP - Brazil


------=_Part_2580_14312898.1127767091788-- ------=_Part_2581_5170071.1127767091788--