ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <hind.lwahh...@accenture.com>
Subject regular expression help
Date Tue, 02 Aug 2005 12:58:31 GMT
Hello guys;
I would like some help for the following.
Using <propertyregexp> how would you perform the following:

input string="Foo Bar Jeff Blabla"
replacing prefix="myPrefix"
result string="myPrefixFoo myPrefixBar myPrefixJeff myPrefixBlabla"

I am doing it currently  with <scriptdef> but i am sure there is an elegant way to do
so using regular expressions.
Any help is welcome.
Thanks!


Hind Lwahhabi.


This message is for the designated recipient only and may contain privileged, proprietary,
or otherwise private information.  If you have received it in error, please notify the sender
immediately and delete the original.  Any other use of the email by you is prohibited.


Mime
View raw message