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