On Mon, Oct 12, 2009 at 08:40, Francis GALIEGUE <f...@one2team.com> wrote: [...] > > Let me be more precise about that. > > If I: > > echo t.xml | sed 's,xml$,txt' > > I get t.txt as an output. As expected. > > I know that Java's .matches() method on a String is a misnomer (it > tries and matches the whole input, unlike what its name says, because > /xml$/ DOES match t.xml), but I though that ant wouldn't make this > error... >
[that should have been 's,xml$,txt,', with an ending comma, but the argument still stands] I should add that ant-contrib's <propertyregex> does not suffer from this problem. I know this since in another build system of mine, I don't use the regex mapper as I didn't know about it at the time, and it seems that I'll stick with it... -- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0) 683 877 875 Tel : +33 (0) 178 945 552 f...@one2team.com 40 avenue Raymond Poincaré 75116 Paris --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org