ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sun zheng" <zheng_...@hotmail.com>
Subject Re: replace token uses wildcard?
Date Thu, 10 Jul 2003 14:02:50 GMT
tx Mark,

<replace file="aaa.xml" token="http://*/index.html"
value="http://localhost:8081/index.html" />

now my solution is

<replaceregexp file="aaa.xml" 
token="[h][t][t][p][:][/][/].*[/][i][n][d][e][x][.][h][t][m][l]"
value="http://localhost:8081/index.html" flags="g" />

although its very long...

I have never imagined it is such complicated!!

with best wishes

Zheng Sun

_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* 
http://join.msn.com/?page=features/junkmail


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


Mime
View raw message