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] - Need FilterReader for replacing RegExp
Date Tue, 25 Mar 2003 11:43:46 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





------- Additional Comments From peter.reilly@corvil.com  2003-03-25 11:43 -------
I have made a patch (18312) that should fullfill this request.
The following: (using patch (18166 - enchanched concat)
    <concat>
      (hello)-start line
      <filterchain>
        <tokenfilter>
          <containsregex pattern="\((.*)\)-start" replace="&amp;\1"/>
        </tokenfilter>
      </filterchain>
    </concat>

outputs:
      &hello line

Peter.

Mime
View raw message