Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 56805 invoked from network); 21 Oct 2005 13:06:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Oct 2005 13:06:56 -0000 Received: (qmail 98851 invoked by uid 500); 21 Oct 2005 13:06:50 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 98812 invoked by uid 500); 21 Oct 2005 13:06:49 -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 98797 invoked by uid 99); 21 Oct 2005 13:06:48 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Oct 2005 06:06:48 -0700 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [203.91.193.21] (HELO wip-ectls-mx1.wipro.com) (203.91.193.21) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Oct 2005 06:06:48 -0700 Received: from wip-ectls-mx1.wipro.com (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with ESMTP id 1984622012E for ; Fri, 21 Oct 2005 18:36:05 +0530 (IST) Received: from blr-ec-bh01.wipro.com (blr-ec-bh01.wipro.com [10.201.50.91]) by wip-ectls-mx1.wipro.com (Postfix) with ESMTP id 018E022004B for ; Fri, 21 Oct 2005 18:36:04 +0530 (IST) Received: from blr-m2-msg.wipro.com ([10.116.50.99]) by blr-ec-bh01.wipro.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 21 Oct 2005 18:36:04 +0530 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Issue using ReplaceRegExp Date: Fri, 21 Oct 2005 18:39:05 +0530 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Issue using ReplaceRegExp Thread-Index: AcXVgVq6XfHPXD8eRrqcpRKIxgCnQgAvxD7w From: To: X-OriginalArrivalTime: 21 Oct 2005 13:06:04.0760 (UTC) FILETIME=[318E7D80:01C5D640] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi All, I am trying to use ReplaceRegExp but finding it difficult to cope with it. There is a log.txt file generated from my build.xml using record task which looks like this; log.txt ------- [java] Done! [java]=0D [java] bytes read: 111059499 [java] bytes written: 111059499 [java] parts created: 11 [java] time used: 46.562 sec. =0D Now I wanted to use the value of "parts created" which is "11" but I am not able to use ReplaceRegExp properly=0D It is giving me error message: =0D No supported regular expression matcher found I am using jdk1.3.1_11 =0D I noticed one thing before [java] text there are 5spaces The whole idea is that I wanted to use this log.txt file as a property file, which I am unable to, and as a=0D Experiment I have done something like this in my build.xml file If I want to use this log.txt file as a property file than I think I have to replace the strings till : (colon) Can anyone help me out? Wishes Pritesh Confidentiality Notice=0D The information contained in this electronic message and any attachments to= this message are intended for the exclusive use of the addressee(s) and may contain confidential or= privileged information. If you are not the intended recipient, please notify the sender at Wipro or= Mailadmin@wipro.com immediately and destroy all copies of this message and any attachments. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org