ok actually i needed 8 backslashes!
Hind Lwahhabi.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tue 8/2/2005 5:50 PM
To: user@ant.apache.org
Subject: RE: Another Problem with a regular expression
in fact when i put my folder path in a property it does
/2005 5:45 PM
To: user@ant.apache.org
Subject: RE: Another Problem with a regular expression
I tried with 4 backslashes but no change:
c:foobardude
Hind Lwahhabi.
-Original Message-
From: Gisbert Amm [mailto:[EMAIL PROTECTED]
Sent: Tue 8/2/2005 5:25 PM
To: Ant Users List
I tried with 4 backslashes but no change:
c:foobardude
Hind Lwahhabi.
-Original Message-
From: Gisbert Amm [mailto:[EMAIL PROTECTED]
Sent: Tue 8/2/2005 5:25 PM
To: Ant Users List
Subject: Re: Another Problem with a regular expression
You need to escape the backslashes
You need to escape the backslashes, see e.g.
http://www.regular-expressions.info/java.html
Regards,
Gisbert Amm
[EMAIL PROTECTED] wrote:
Hello;
it's me again.
i tought everything was fine but then i saw strange problem with my
propertyregexp usage.
my snippet is:
some.dir being an absolute
Hello;
it's me again.
i tought everything was fine but then i saw strange problem with my
propertyregexp usage.
my snippet is:
some.dir being an absolute windows directory: c:\foo\bar\dude
some.input being a relative directory= /some/other/directory
when i run this i get as a result:
C\:foobar