ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: Help with Replace regexp with ant 1.5
Date Wed, 15 Jan 2003 14:19:09 GMT
On Tue, 14 Jan 2003, Bin Chen <> wrote:

> Here "\n" is supposed to be a newline,

use &#x0A; or better ${line.separator} instead.  \n doesn't mean
anything special to XML or the regexp engine.

> when the substitution occured, all back slashes were taken out,

doubling them should help - if all else fails, &#x5c; is the way to

> BTW, I am using jdk1.4.1_01 and jakarta ORO and jakarta regexp as
> recommended by the ant document.

We recommend to one of them, not all three 8-)

With your setup, JDK 1.4 will take precedence.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message