Yes, it is a coincidence. It excludes everything. 'jar' is a subset of everything.
> -----Original Message----- > From: Jeff Sinclair [mailto:[email protected]] > Sent: Tuesday, December 08, 2009 1:57 PM > To: Carlton Brown; [email protected] > Subject: Re: ivy retrieve type attribute and ! > > Is it not just coincidence that "(?!jar)" excludes all types because > there is no type that matches this rather than some special logic > involving negation? > > Jeff > > ----- Reply message ----- > From: "Carlton Brown" <[email protected]> > Date: Tue, Dec 8, 2009 17:18 > Subject: ivy retrieve type attribute and ! > To: <[email protected]> > > > -----Original Message----- > > From: Maarten Coene [mailto:[email protected]] > > Sent: Saturday, December 05, 2009 8:25 AM > > To: [email protected] > > Subject: Re: ivy retrieve type attribute and ! > > > > I've taken a quick look at the code and I don't think that "!jar" or > > "(?!jar)" will work. > > And as far as I could see, this has never worked in Ivy before. > > Ah, my mistake. Regex does not work for the type attribute. > Setting > the attribute type="(?!jar)" excludes every artifact type, not just jar > types. > > However, literal strings do work as expected (if anyone was wondering). > Setting type="zip" restricts only to zip files. > > > ***CONFIDENTIALITY NOTICE and DISCLAIMER*** > This message and any attachment are confidential and may be > privileged or otherwise protected from disclosure and solely for > the use of the person(s) or entity to whom it is intended. If you > have received this message in error and are not the intended > recipient, please notify the sender immediately and delete this > message and any attachment from your system. If you are not the > intended recipient, be advised that any use of this message is > prohibited and may be unlawful, and you must not copy this > message or attachment or disclose the contents to any other person. ***CONFIDENTIALITY NOTICE and DISCLAIMER*** This message and any attachment are confidential and may be privileged or otherwise protected from disclosure and solely for the use of the person(s) or entity to whom it is intended. If you have received this message in error and are not the intended recipient, please notify the sender immediately and delete this message and any attachment from your system. If you are not the intended recipient, be advised that any use of this message is prohibited and may be unlawful, and you must not copy this message or attachment or disclose the contents to any other person.
