-----Original Message-----
From: Rebhan, Gilbert [mailto:[EMAIL PROTECTED]
Sent: Monday, August 27, 2007 1:43 PM
To: Ant Users List
Subject: RE: replaceregex issues
/*
ok, tested now =
<replaceregex pattern="[\.\./]{1,}(h.+)" replace="/1" flags="m"/>
works for me with ant 1.6.5 / jdk 1.4.2_08
*/
typo, has to be =
<replaceregex pattern="[\.\./]{1,}(h.+)" replace="\1" flags="m"/>
instead, the reference to the group has to be written with ' \ '
Regards, Gilbert
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]