Try select="\1"
On Tue, 22 Jun 2010, Andy2008 wrote:
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
--
Scot P. Floess
27 Lake Royale
Louisburg, NC 27549
252-478-8087 (Home)
919-890-8117 (Work)
Chief Architect JPlate http://sourceforge.net/projects/jplate
Chief Architect JavaPIM http://sourceforge.net/projects/javapim
Architect Keros http://sourceforge.net/projects/keros
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]