RE: replaceregex, only the first match

2006-01-12 Thread Rebhan, Gilbert
al Message- From: Andrew Goktepe [mailto:[EMAIL PROTECTED] Sent: Thursday, January 12, 2006 3:08 PM To: Ant Users List Subject: Re: replaceregex, only the first match Remove the tags, and then your script will only replace the first occurrence. -Andrew On 1/12/

Re: replaceregex, only the first match

2006-01-12 Thread Andrew Goktepe
Remove the tags, and then your script will only replace the first occurrence. -Andrew On 1/12/06, Rebhan, Gilbert <[EMAIL PROTECTED]> wrote: > > > Hi, > > i have problem with replaceregex. > > my script uses a xmlpropertyfile which is generated by > another pro

replaceregex, only the first match

2006-01-12 Thread Rebhan, Gilbert
Hi, i have problem with replaceregex. my script uses a xmlpropertyfile which is generated by another process.Sometimes there are doubled propertynames in that file i have to = 1. load the xmlpropertyfile, check for doubled properties 2. if doubled properties are found, i have to delete the firs