ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy2008 <hoangt...@yahoo.com>
Subject PropertyRegex help
Date Fri, 16 Apr 2010 00:18:33 GMT

Here's my input

dev-abc.com:8001

I want abc.com:8001 back.  Below is my propertyregex

<propertyregex 	property="url"
		input="dev-abc.com:8001"
		regexp="dev-*"
	             select="\1"								             casesensitive="false" />

but <echo>${url}</echo> returns \1

Do you have any ideas?
-- 
View this message in context: http://old.nabble.com/PropertyRegex-help-tp28261946p28261946.html
Sent from the Ant - Users mailing list archive at Nabble.com.


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


Mime
View raw message