Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 78232 invoked from network); 23 Jun 2004 12:34:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 23 Jun 2004 12:34:43 -0000 Received: (qmail 32529 invoked by uid 500); 23 Jun 2004 12:26:30 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 32070 invoked by uid 500); 23 Jun 2004 12:26:18 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 31649 invoked by uid 99); 23 Jun 2004 12:26:10 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [213.94.219.177] (HELO corvil.com) (213.94.219.177) by apache.org (qpsmtpd/0.27.1) with ESMTP; Wed, 23 Jun 2004 05:26:06 -0700 Received: from [172.18.1.171] (angel.local.corvil.com [172.18.1.171]) by corvil.com (8.12.9/8.12.5) with ESMTP id i5NCPuOC073549 for ; Wed, 23 Jun 2004 13:25:57 +0100 (IST) (envelope-from peter.reilly@corvil.com) Message-ID: <40D976F6.1000803@corvil.com> Date: Wed, 23 Jun 2004 13:26:30 +0100 From: Peter Reilly User-Agent: Mozilla Thunderbird 0.6 (X11/20040502) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ant Users List Subject: Re: AW: Backspace in regular expression References: <20040623101829.86541.qmail@web52905.mail.yahoo.com> In-Reply-To: <20040623101829.86541.qmail@web52905.mail.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N You could do: i.e backspace, space, backspace Peter Ivan Ivanov wrote: >Hi Peter, I thinki that I started ver stubborn topic. > >--- Peter Reilly wrote: > > >>Ah, uou want the character backspace in the >>resultant file? >>Like: >>tr[backspace] >>gt[backspace] >>so it looks like: >>t >>g >> >> >> > >Yes, that is right. > > >>I am not to sure how to do this with xml characters. >>One can use >> >> >> >>aBACKSPACEbBACKSPACEc >> >> >> >> >> >> >> >> >> >> > >I tested it and it works like a charm. But can you >make it work when the contents of x.txt is this > >aBACKSPACE >bBACKSPACE >c > > >In my opinion it should output > > >c >but it outputs >a >b >c > >So there are too many abguities in my desire to >replace expressions with backspace and you might >abandon it. > >Thank you for your help. >Regards Ivan > > > > >__________________________________ >Do you Yahoo!? >New and Improved Yahoo! Mail - 100MB free storage! >http://promotions.yahoo.com/new_mail > >--------------------------------------------------------------------- >To unsubscribe, e-mail: user-unsubscribe@ant.apache.org >For additional commands, e-mail: user-help@ant.apache.org > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org