2009/4/22 P.J. Eby pje@telecommunity.com:
I don't see how it can manage, e.g. a development version of a postrelease, with an SVN rev or date stamp on it. Such versions might not be found on PyPI or on RPMs, but would be needed in development.
So, instead of having 'dev' and 'post', we would require a third case for "pos+dev" version
so (dev|post)N+ could become, ((dev|post)N+)|(postN+devN+)
example:
1.0.dev459 < 1.0 < 1.0.post456dev463 < 1.0.post456 < 1.0.post489
(Btw, the wiki page pseudo-regex doesn't match what the code actually parses, either.)
i'll check it thx