Re: PropertyRegex help

2010-04-16 Thread Andy2008
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" >>

Re: PropertyRegex help

2010-04-16 Thread Scot P. Floess
\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

Re: PropertyRegex help

2010-04-15 Thread David Weintraub
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

Re: PropertyRegex help

2010-04-15 Thread Scot P. Floess
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

PropertyRegex help

2010-04-15 Thread Andy2008
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

Re: regex newbie. propertyregex help, please.

2005-01-24 Thread Nat Gross
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

Re: regex newbie. propertyregex help, please.

2005-01-24 Thread Matt Benson
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

regex newbie. propertyregex help, please.

2005-01-24 Thread Nat Gross
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