My own implementation used Matcher.matches, so you would have to add a
trailing .* to really match all properties not starting with java I think.
Had I used Matcher.find, then it would have been OK. I'm not sure how the
Ant encapsulation of Regexp does it. --DD

> -----Original Message-----
> From: Stefan Bodewig [mailto:[EMAIL PROTECTED]
> Sent: Monday, May 12, 2003 10:33 AM
> To: [EMAIL PROTECTED]
> Subject: <propertyset>
> 
> <java>
>   <syspropertyset>
>     <propertyref regexp="^[^j][^a][^v][^a]"/>
>   </sysproperty>
> </java>
> 
> will pass all Ant properties whose name does not start with "java" (at
> least I think so ;-)

Reply via email to