Re: Replaceregexp in ANT

2009-04-16 Thread Martin von Gagern
Pankaj Arora01 wrote: > I know replaceregexp should serve the purpose but I am unable to do > it due to multiple lines. I need to replace the complete set of A > properties at one go...May be treating it as a single line. Haven't fully understood everything before, but a FileTokenizer, maybe toget

Re: ReplaceRegexp

2003-10-06 Thread Stefan Bodewig
On Thu, 02 Oct 2003, Steve Loughran <[EMAIL PROTECTED]> wrote: > Anyone know why ReplaceRegeExp.setByLine doesnt just take a bool > value?: 'cause I dodn't catch it when committing Matt's contribution, sorry. Should be save to add a method that takes a boolean and deprecate the old one. Stefan

Re: ReplaceRegexp

2003-10-03 Thread peter reilly
It looks like an oversight. Peter On Friday 03 October 2003 01:57, Steve Loughran wrote: > Anyone know why ReplaceRegeExp.setByLine doesnt just take a bool value?: > > public void setByLine(String byline) { > Boolean res = Boolean.valueOf(byline); > > if (res == null) { >