RE: [Nant-users] regex replace

2005-08-02 Thread Evan Levy
I needed this functionality all over the place, so I wrote a function to handle it. It replaces anything that matches strRegex in strInput with strReplace. I read the file in with loadfile, do the regex-replaces, then write the file out with echo.

RE: [Nant-users] regex replace

lto:[EMAIL PROTECTED] On Behalf Of Ashley Moran Sent: Friday, July 29, 2005 10:39 AM To: Steve Baker Cc: Nant-users@lists.sourceforge.net Subject: Re: [Nant-users] regex replace Steve Baker wrote: > I don't see any type of functionality in nant or nantcontrib to find and > replace a s

RE: [Nant-users] regex replace

: [Nant-users] regex replace   The following target maybe of use to you

RE: [Nant-users] regex replace

The following target maybe of use to you.                                                                             

Re: [Nant-users] regex replace

Steve Baker wrote: I don’t see any type of functionality in nant or nantcontrib to find and replace a string value in a file. There is xmlpoke for xml files. How are people doing the same type of thing for non xml files? I wrote a task for this myself a while back, but sometimes clients pre