>>>>> On Fri, 8 Sep 2017, Michał Górny wrote:

> +# A version component can either consist purely of digits ([0-9]+) or
> +# purely of uppercase and lowercase letters ([a-zA-Z]+). Any other
> +# character is treated as a version separator.

Minor documentation nitpick (sorry for not noticing this earlier):
A version separator is not necessarily a single character. So the
wording should be along the lines of:

# A version component can either consist purely of digits ([0-9]+) or
# purely of uppercase and lowercase letters ([A-Za-z]+).  A version
# separator is either a string of any other characters ([^A-Za-z0-9]+),
# or it occurs at the transition between a sequence of letters and a
# sequence of digits, or vice versa.  In the latter case, the version
# separator is an empty string.

Ulrich

Attachment: pgpZ8Fezt6h0N.pgp
Description: PGP signature

Reply via email to