ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Salter <marksal...@talktalk.net>
Subject Re: replaceregexp task
Date Wed, 30 Jun 2010 08:26:55 GMT
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-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message