Re: ANT replaceregexp problem

2008-11-17 Thread Jerry Chimey
<[EMAIL PROTECTED]> To: Ant Users List Sent: Monday, November 17, 2008 4:02:08 AM Subject: Re: ANT replaceregexp problem Your XML file specifies the char encoding being used (UTF-8), but I'm guessing that the replaceregexp task won't understand this, since it's not XML-aware

Re: ANT replaceregexp problem

2008-11-17 Thread Brian Agnew
Your XML file specifies the char encoding being used (UTF-8), but I'm guessing that the replaceregexp task won't understand this, since it's not XML-aware. So your replacement string may be getting written out using another encoding - most likely your default environment encoding. Try setting -Dfi

ANT replaceregexp problem

2008-11-16 Thread Jerry Chimey
Hi, I am seeing a weird problem of using replaceregexp in ANT. Basically, for the non-English characters, they are updated even though they are not matched by the regular expression. The following is my original input: - -- file://loca

Re: replaceregexp problem

2005-10-18 Thread Gilbert Rebhan
Hi, Jeffrey E Care wrote: > Play around with the @flags & @byline; I think those will be able to solve > your problem. > yup = did it. Thanks !! bye4now, Gilbert - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: replaceregexp problem

2005-10-18 Thread Jeffrey E Care
Play around with the @flags & @byline; I think those will be able to solve your problem. -- Jeffrey E. Care ([EMAIL PROTECTED]) WebSphere v7 Release Engineer WebSphere Build Tooling Lead (Project Mantis) Gilbert Rebhan <[EMAIL PROTECTED]> wrote on 10/18/2005 01:41:02 PM: > Hi, > > i want to

replaceregexp problem

2005-10-18 Thread Gilbert Rebhan
Hi, i want to change one line in a txtfile. 1. if txtfile is like = foo=bar bla=bla works as it should, gives me = foo=bar bla=bla:123456 2. but if txtfile is like = foo=bar bla=bla foobar=foobar means the line to be altered is not the last line my snippet above gives me = fo

Re: replaceregexp problem

2005-07-22 Thread Frank W. Zammetti
Thanks Chad, that did the trick perfectly! -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Fri, July 22, 2005 2:43 pm, Chad Armstrong said: > Hi Frank, > The * looks a little weird below in the "match" string, * means 0 or > more of the

Re: replaceregexp problem

2005-07-22 Thread Juergen Hermann
On Fri, 22 Jul 2005 14:36:22 -0400 (EDT), Frank W. Zammetti wrote: regex != glob ==> s/*/.*/ >Hi all... having some trouble getting a regex replace to work... I have a >JSP which contains the following line: >Version 3.0Build >306301/01/2005 >I have a task in my build script like so: >match="<

Re: replaceregexp problem

2005-07-22 Thread Chad Armstrong
Hi Frank, The * looks a little weird below in the "match" string, * means 0 or more of the preceding character, which I don't think is what you want. Try it with .* instead and see if that helps. Chad On 7/22/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > Hi all... having some trouble getti

replaceregexp problem

2005-07-22 Thread Frank W. Zammetti
Hi all... having some trouble getting a regex replace to work... I have a JSP which contains the following line: Version 3.0Build 306301/01/2005 I have a task in my build script like so: But, nothing is getting replaced. The file exists and is found, and all the properties are properly define