On 30/06/2010 08:25, shindito wrote: > I've set flags to g=global, but still not working. I've tryed all flags... > It only replaces the first regexp on the line. Please try changing byline="true" to byline=false (or just let it default)?
From:- http://www.jajakarta.org/ant/ant-1.6.1/docs/en/manual/OptionalTasks/replaceregexp.html ( http://tinyurl.com/replaceregexp ) " byline Process the file(s) one line at a time, executing the replacement on one line at a time (true/false). This is useful if you want to only replace the first occurence of a regular expression on each line, which is not easy to do when processing the file as a whole. Defaults to false. " -- Mark --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org