Re: Negative Lookahead and Regexp

2011-11-10 Thread Steve Amerige
Hi Vimil, Thanks for your reply. Unfortunately, negate doesn't work as can be demonstrated with: If what I'm looking to find is "^a\.(?!b\.).*" ("a." followed by anything except for "b."), then this doesn't work. Of course, my real need isn't just this simple case, so a hac

Re: Negative Lookahead and Regexp

2011-11-10 Thread Vimil Saju
The propertyset type has a negate attribute. maybe that will help you. http://ant.apache.org/manual/Types/propertyset.html From: Steve Amerige To: Ant Users List Sent: Thursday, November 10, 2011 4:50 AM Subject: Re: Negative Lookahead and Regexp Hi all, So,

Re: Negative Lookahead and Regexp

2011-11-10 Thread Steve Amerige
Hi all, So, I'm guessing that Ant 1.7+ (with optional Ant-Contrib) doesn't support negative lookahead regex searches. So, I'm refocusing on the main objective here: I want a propertyset that excludes properties matching certain patterns. Any idea as to how to accomplish this? Thanks! Steve