ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jakob Fix" <jakob....@gmail.com>
Subject Re: Repace String by ignoring the case.
Date Tue, 25 Apr 2006 10:47:28 GMT
On 4/25/06, Navaneethakrishnan, S <navaneethakrishnan@gft.com> wrote:
> Is it possible to replace the occurence of a given string in a file with
> another string by ignoring the case?
>
> I tried with <replace> tasks, but it does not workout.

http://ant.apache.org/manual/OptionalTasks/replaceregexp.html

use the flags attribute.

HTH
--
cheers,
Jakob.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message