Lines 61-75
upon the length of any component. Package managers should indicate or reject any
Link Here
|
61 |
invalid according to the rules below. |
61 |
invalid according to the rules below. |
62 |
|
62 |
|
63 |
A version starts with the number part, which is in the form \t{[0-9]+(\textbackslash.[0-9]+)*} |
63 |
A version starts with the number part, which is in the form \t{[0-9]+(\textbackslash.[0-9]+)*} |
64 |
(a positive integer, followed by zero or more dot-prefixed positive integers). |
64 |
(a non-negative integer, followed by zero or more dot-prefixed non-negative integers). |
65 |
|
65 |
|
66 |
This may optionally be followed by one of \t{[a-z]} (a lowercase letter). |
66 |
This may optionally be followed by one of \t{[a-z]} (a lowercase letter). |
67 |
|
67 |
|
68 |
This may be followed by zero or more of the suffixes \t{_alpha}, \t{_beta}, \t{_pre}, |
68 |
This may be followed by zero or more of the suffixes \t{_alpha}, \t{_beta}, \t{_pre}, |
69 |
\t{_rc} or \t{_p}, which themselves may be followed by an optional integer. Suffix and integer |
69 |
\t{_rc} or \t{_p}, which themselves may be followed by an optional non-negative integer. Suffix and integer |
70 |
count as separate version components. |
70 |
count as separate version components. |
71 |
|
71 |
|
72 |
This may optionally be followed by the suffix \t{-r} followed immediately by an integer (the |
72 |
This may optionally be followed by the suffix \t{-r} followed immediately by a non-negative integer (the |
73 |
``revision number''). If this suffix is not present, it is assumed to be \t{-r0}. |
73 |
``revision number''). If this suffix is not present, it is assumed to be \t{-r0}. |
74 |
|
74 |
|
75 |
\section{Version Comparison} |
75 |
\section{Version Comparison} |