ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Rogers" <jason.rog...@tumbleweed.com>
Subject RE: Can filter use regular expression
Date Wed, 19 Sep 2001 19:29:00 GMT
Azariah,

I don't believe so.  It is very simplistic token replacement task.  I think
you could extend the task however, or write one of your own.  It shouldn't
be too hard.

-Jason

    > Is it possible to use regular expression in a filter?
    > 
    > I would like to be able to strip all lines in a file 
    > which start with a
    > "//".
    > 
    > Basically to replace "^//.*$" with "" (where ^ is 
    > beginning of line and $ is
    > end of line).


Mime
View raw message