> 
>  P.S. I also had a lot of trouble doing a negation match.  For
>  example, I was originally tried:
>  ^.*\.[^(process|tem|htm|html)]\^.*$
> 

I havn't looked at how Ant defines Regexps, but assuming that they are
similar to perl5 the above line could also be written as
^.*\.[()|procestmhl]\^.*$ and the part inside the bracket would match a
single character that was not one of the characters in the set: (, ), |,
p, r, o, c, e, s, t, m, h or l. 

foo.x^foo
bar.P^bar

should each match.

foo.)^foo
bar.s^bar 

should each fail.

If that isn't true, then there is something strange about the Ant
implementation (IMHO).

Gus

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

Reply via email to