ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
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 <binchen@bea.com> 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
go.

> 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.

Stefan

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message