Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 72893 invoked from network); 19 Nov 2009 18:29:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Nov 2009 18:29:31 -0000 Received: (qmail 86003 invoked by uid 500); 19 Nov 2009 18:29:30 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 85957 invoked by uid 500); 19 Nov 2009 18:29:30 -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 85947 invoked by uid 99); 19 Nov 2009 18:29:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Nov 2009 18:29:29 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sfloess@nc.rr.com designates 75.180.132.121 as permitted sender) Received: from [75.180.132.121] (HELO cdptpa-omtalb.mail.rr.com) (75.180.132.121) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Nov 2009 18:29:19 +0000 Received: from flossware.homelinux.org ([66.57.231.67]) by cdptpa-omta04.mail.rr.com with ESMTP id <20091119182857899.JKWJ13252@cdptpa-omta04.mail.rr.com> for ; Thu, 19 Nov 2009 18:28:57 +0000 Received: from adminserver.flossware.com (adminserver.flossware.com [192.168.168.253]) by flossware.homelinux.org (Postfix) with ESMTP id 6D07F1210BD6 for ; Thu, 19 Nov 2009 13:28:57 -0500 (EST) Date: Thu, 19 Nov 2009 13:28:57 -0500 (EST) From: "Scot P. Floess" X-X-Sender: sfloess@adminserver.flossware.com To: Ant Users List Subject: Re: Regular expression for deleting new lines with Ant In-Reply-To: <26421426.post@talk.nabble.com> Message-ID: References: <26421426.post@talk.nabble.com> User-Agent: Alpine 2.00 (LRH 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Checked: Checked by ClamAV on apache.org If I remember correctly, someone had a similar question... To get around the issue they used one of the Java built in properties like ${line.separator} instead of \n for example... On Thu, 19 Nov 2009, christoforever wrote: > > I'm trying to remove all the new lines and/or lines full of tabs or white > space from a file ... its not working however... I've used the following > code. > > match="^[ \t\n]+$" > replace="" > byline="true"/> > > > but I've got nothing. I originally posted on the coderanch forums > (http://www.coderanch.com/t/471737/Ant-Maven-Other-Build-Tools/Regular-expression-deleting-new-lines) > and have gotten no reply so I've come here for help... any ideas? > -- > View this message in context: http://old.nabble.com/Regular-expression-for-deleting-new-lines-with-Ant-tp26421426p26421426.html > Sent from the Ant - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > Scot P. Floess 27 Lake Royale Louisburg, NC 27549 252-478-8087 (Home) 919-890-8117 (Work) Chief Architect JPlate http://sourceforge.net/projects/jplate Chief Architect JavaPIM http://sourceforge.net/projects/javapim Architect Keros http://sourceforge.net/projects/keros --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org