On 14 September 2015 at 18:52, Ulrich Mueller <u...@gentoo.org> wrote: > It does, in fact. > >> When it only matches 1.0.2 and 1.0.2.* > >> You're reading it in shell glob notation and not the portage notation, >> that the trailing dot is *implied*, > > No, there isn't any dot implied. It uses simple prefix comparison, as > in shell globbing. > >> which is why explictly stating it is illegal. > > Explicitly stating the dot is illegal, because without the asterisk it > must still be a valid version specification.
Ugh. That's really really nasty. I'm going to have to go reprogram my brain with bleach. :( I say this because it doesn't strictly make sense in the knowledge that 1.3 and 1.30 both match =1.3* So there is, as he describes, no proviso for "X, or some subversion of it". Thus, the documentation is very misleading, as although "1.2*" will match "1.2.x" and not "1.1.x" and not "1.3.x", it will also match 1.20.x , and that fact is a footgun waiting to go off. -- Kent KENTNL - https://metacpan.org/author/KENTNL