Re: replaceregexp Question

2008-02-19 Thread Olivier Gies
In that case, I think it's just a matter of RegExp format: byline="true" /> (untested) If it is for more complex matches, I don't think was designed for it. I think that 1 call per expression to replace is the intent. Olivier Original Message Sub

Re: replaceregexp Question

2008-02-19 Thread Z W
Olivier, Dave I meant to ask if it's possible with a single that I could modify different and multiple matches of different words. Or do I have to do multiple , twice in this case below ? Say in a file, there are two keywords I like to modify. sun to sunfix and moon to moonfix. Thanks

Re: replaceregexp Question

2008-02-19 Thread Olivier Gies
han start or end of string. s : Singleline. Treat the string as a single line of input, using "." to match any character, including a newline, which normally, it would not match. Olivier Original Message ---- Subject: replaceregexp Question From: Z W <[EMAIL PROTECT

Re: replaceregexp Question

2008-02-19 Thread David Weintraub
You can do this with filterchains while copying: http://ant.apache.org/manual/CoreTypes/filterchain.html Read up on that and play around with it. I've done it before, but unfortunately, I can't give you the exact details. On Feb 19, 2008 1:55 PM, Z W <[EMAIL PROTECTED]> wrote: > Hi > > My underst

replaceregexp Question

2008-02-19 Thread Z W
Hi My understanding is that 1 replacement is possible with replaceregexp. Eg. below Question: Can allow multiple matches and replacements in a single , instead of one match at a time ? thanks

Minor replaceregexp question

2006-02-11 Thread Rhino
I'm using replaceregexp in Ant 1.6.5 to transform one string to another. It's working perfectly but I'm having trouble making it do one small thing. I'm trying to put a tab at the beginning of the replacement string but nothing I do seems to get interpreted as a tab in the replace parameter.