Re: AW: Pattern matching the value of a property

2005-08-16 Thread Matt Benson
--- Matt Benson <[EMAIL PROTECTED]> wrote: [SNIP] > > > > > That is, > > -Matt > > > > > Just a quick shot ... > > > > > > Jan > > > > > > > > >-Ursprüngliche Nachricht- > > >Von: Bailey, David > > [mailto:[EMAIL PROTECTED] > > >Gesendet: Dienstag, 16. August 2

Re: AW: Pattern matching the value of a property

2005-08-16 Thread Matt Benson
--- [EMAIL PROTECTED] wrote: > AntContrib > > input="${versionstring}" > regex="\d{1}\.\d{1}\.\d{1-2}" replace=""/> > if="version.wrong"/> Have to use a condition probably... version.wrong would be set in any event. Easiest might be to add defaultValue="wrong" to propertyregex, then: