Hi Stefan,
eight backslashes, wow! That means four intermediate steps to get from
to \
I'll probably just go with the forward slashes in the property file
and pathconvert them to backslashes.
thanks a lot,
Jakob.
On Tue, May 11, 2010 at 17:29, Stefan Bodewig wrote:
> On 2010-05-11,
On 2010-05-11, Jakob Fix wrote:
> Hi, looked through the archive, but I don't think pathconvert can be
> used in this case.
> property file:
> prop=E:\\foo\\bar
property files and backslahes are a pain.
> build file:
>
>
>
>
> I also tried double escaping i.e.
> prop=E:foobar
e contenu fourni.
> From: jakob@gmail.com
> Date: Tue, 11 May 2010 11:19:33 +0200
> Subject: backslash escaping in a regex
> To: user@ant.apache.org
>
> Hi, looked through the archive, but I don't think pathconvert can be
> used in this case.
>
> property file
Hi, looked through the archive, but I don't think pathconvert can be
used in this case.
property file:
prop=E:\\foo\\bar
build file:
actual result:
value="E:foobar"
desired result:
value="E:\foo\bar"
I also tried double escaping i.e.
prop=E:foobar
but there all backslashes dis