ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 18290] New: - Need FilterReader for replacing RegExp
Date Mon, 24 Mar 2003 19:50:04 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18290>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18290

Need FilterReader for replacing RegExp

           Summary: Need FilterReader for replacing RegExp
           Product: Ant
           Version: 1.6Alpha (nightly)
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: j_a_fernandez@yahoo.com


A basic functionality missing on the filters is a way to match a regular
expression and replace on output based on matching content.
This is a thing we can do with file names mappers but not with filter readers.

<replaceRegExp>
  <regexp pattern="\(.*\)-start" />
  <replace value="&amp;1"/>
</replaceRegExp>

Mime
View raw message