this are not conditions, but filters. There's no <not>.

I guess a negate attribute on <linecontains[regexp]> would be
required, or a <unchanged> weird pseudo filter that accept a nested
filter, and 'reverses' the nested filter's job, by accepting only
lines unchanged by the nested filter.

Or some regexp wizardry of course. --DD

On 7/11/06, Master, Tariq (Abbeywood) <[EMAIL PROTECTED]> wrote:


I'm sure I read an example in the ant manual using the <not> element.
(having inet access issues so no direct linke - sorry)


-----Original Message-----
From: Aaron Davies [mailto:[EMAIL PROTECTED]
Sent: 11 July 2006 16:20
To: Ant Users
Subject: Line *Doesn't* Contain?

How can I do a negative filter in a filterchain? I've tried to use a
negative lookahead regexp /.*(?!foo).*/, but so far no luck.
--
Aaron Davies
[EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to