You might try wrapping the * in parens like

<propertyregex property="url" input="dev-abc.com:8001" regexp="dev-(*)"/>

Honestly, didn't try this - went back to look at some examples I've done in the past

On Thu, 15 Apr 2010, Andy2008 wrote:


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?


--
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]

Reply via email to