Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 87833 invoked from network); 18 Aug 2005 10:17:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Aug 2005 10:17:00 -0000 Received: (qmail 39773 invoked by uid 500); 18 Aug 2005 10:16:57 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 39714 invoked by uid 500); 18 Aug 2005 10:16:56 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 39695 invoked by uid 99); 18 Aug 2005 10:16:56 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Aug 2005 03:16:54 -0700 Received: by ajax.apache.org (Postfix, from userid 99) id DC11BE0; Thu, 18 Aug 2005 12:16:53 +0200 (CEST) From: bugzilla@apache.org To: dev@ant.apache.org Subject: DO NOT REPLY [Bug 36239] New: - in does not honour flags="s" X-Bugzilla-Reason: AssignedTo Message-Id: <20050818101653.DC11BE0@ajax.apache.org> Date: Thu, 18 Aug 2005 12:16:53 +0200 (CEST) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=36239 Summary: in does not honour flags="s" Product: Ant Version: 1.6.5 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Core tasks AssignedTo: dev@ant.apache.org ReportedBy: matt@cenqua.com When using , specifying flags="s" has no effect (that is, you want the regex to span lines). Example: == src.txt == line1 foo START this bit should disappear and so should this bit == == To Reproduce: Run the above build.xml, and look at dest.txt. Everything from START to EOF should be replaced with "snip", but it is not. Changing or removing the byline attribute has no effect. Diagnosis: I had a look at TokenFilter.ChainableReaderFilter. The "byline" attribute seems to be what I want, but running this through a debugger proved that ChainableReaderFilter.chain(Reader) is *never* called. Solution: Not to sure, reading the whole TokenFilter/ChainableReader thing was like chasing a rabbit down a hole :P Workaround: I wrote my own FilteredReader to use with -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org