ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Neeraj Kumar <neeraj....@gmail.com>
Subject replaceregexp issue: replace forward slash with backward slash
Date Sat, 16 Jul 2005 12:57:28 GMT
input:  c:/foo/bar

desired output: c:\foo\bar

code:
<replaceregexp file="test.properties" match="/"
           replace="\\" flags="g"    /> 


I'm getting an error. How do I achieve the desired output?

Thanks.
- Neeraj

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


Mime
View raw message