gt; Here's my input
>>
>> dev-abc.com:8001
>>
>> I want abc.com:8001 back. Below is my propertyregex
>>
>> >input="dev-abc.com:8001"
>>regexp="dev-*"
>> select="\1"
>>
\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-unsubscr...@ant.apach
exp="dev-*"
> select="\1"
> casesensitive="false" />
>
> but ${url} returns \1
>
> Do you have any ideas?
> --
> View this message in context:
> http://old.nabble.com/PropertyRegex-help-tp2
You might try wrapping the * in parens like
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
but ${url} returns \1
Do you h
Here's my input
dev-abc.com:8001
I want abc.com:8001 back. Below is my propertyregex
but ${url} 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 archi
Matt Benson wrote:
propertyregex is an ant-contrib question, really, and
Is there another list more appropriate for ant-contrib?
you seem to be trying to use nested elements where
propertyregex doesn't appear to want any, but you
basically want to match "^(.*)Bean$" and replace with
"\1".
Ye
propertyregex is an ant-contrib question, really, and
you seem to be trying to use nested elements where
propertyregex doesn't appear to want any, but you
basically want to match "^(.*)Bean$" and replace with
"\1".
HTH,
Matt
--- Nat Gross <[EMAIL PROTECTED]>
wrote:
> Hi;
> To a regex newbie can
Hi;
To a regex newbie can someone please supply the pattern to strip off the
word "Bean" from the string.
In the following, assuming that property 'beanName' contains a string
'AnyBean',
the new 'beanPrefix' property should be 'Any'. (By convention, the
substring 'Bean' is always at the end of