No, FilterReader negation is not something that can be
generically accomplished.  Obviously things like grep
-v are not that difficult, but a FilterReader may
perform transformations for which negation would be a
subjective or inapplicable concept (I know these
things because I asked the same question years ago). 
I would expect you are on the right track with your
RE, however, and would encourage you to be sure all
your greediness etc. is in order before abandoning
that line of inquiry.

-Matt

--- "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]
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

Reply via email to