Aha, then the solution seems quite simple indeed: <path id="temp-buildroot"> <pathelement location="${build.root}"/> </path> <pathconvert dirsep="/" property="regexp-compliant.buildroot" refid="temp-buildroot"/> <echo>converted buildroot: ${regexp-compliant.buildroot}</echo>
Thanks, Stefan! -- Svetlin > -----Original Message----- > From: Stefan Bodewig [mailto:[EMAIL PROTECTED] > Sent: Monday, August 11, 2003 8:54 AM > To: [EMAIL PROTECTED] > Subject: Re: bug or feature in <replaceregexp/> ? > > > On Fri, 8 Aug 2003, Svetlin Stanchev <[EMAIL PROTECTED]> wrote: > > > ${build.root} is set in the (Windows) environment to > > d:\CleanStart\buildroot. > > this is the problem, in order to get the regular expression > engine to accept the backslashes, you have to double them. > > Stefan > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]