ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Weintraub" <qazw...@gmail.com>
Subject Re: replaceregexp Question
Date Tue, 19 Feb 2008 21:59:12 GMT
You can do this with filterchains while copying:
http://ant.apache.org/manual/CoreTypes/filterchain.html

Read up on that and play around with it. I've done it before, but
unfortunately, I can't give you the exact details.

On Feb 19, 2008 1:55 PM, Z W <mpc8250@gmail.com> wrote:
> Hi
>
> My understanding is that 1 replacement is possible with replaceregexp.
> Eg. below
>
> <replaceregexp file="${app}/install_data"
>
> match="fix"
>
> replace="sunfix"
>
> byline="true"/>
>
> Question:
>
> Can <replaceregexp> allow multiple matches and replacements in a
> single <replaceregexp>,
> instead of one match at a time ?
>
> thanks
>



-- 
--
David Weintraub
qazwart@gmail.com

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


Mime
View raw message