Michał Górny <mgo...@gentoo.org> wrote:
> +#   1.2b-alpha4 -> 1 . 2 '' b - alpha '' 4

Is this only to explain the syntax or are there plans to
extend the allowed versions for pms?

There is a reason why pms currently does not allow "-" as separators
within versions (with the exception of -r):

With this general syntax, you would have a hard time to split
into name and version for e.g.
media-fonts/font-bitstream-75dpi-1.0.3

(Currently the version starts at the latest /-[0-9]/ match.)

Also the ordering needs a discussion when version strings are
allowed which are not covered by PMS. Note that e.g.
02 > 1 while 1.02 < 1.1
Is it still "correct" to have 1-02 < 1-1?


Reply via email to