ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy2008 <hoangt...@yahoo.com>
Subject propertyregex question
Date Wed, 23 Jun 2010 00:17:10 GMT

Here's my input

abc/long/distance

I want to get abc back.  Here's my code

<propertyregex property="myprop"
              input="${input}"
              regexp="(.*)/*"
              select="\0"
              casesensitive="false" />

but I got back the whole string (abc/long/distance)

Do you have any ideas?

Thanks
-- 
View this message in context: http://old.nabble.com/propertyregex-question-tp28966275p28966275.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