From b6fcfcaa18a68641b832db109fc087cd35a1c0ab Mon Sep 17 00:00:00 2001 From: Elizabeth Mattijsen Date: Wed, 20 Aug 2025 00:14:02 +0200 Subject: [PATCH] A little doc elaboration - mention "pre" as one of the special pre-release keywords - elaborate of the LETTER_SUFFIX rule --- doc/ALGORITHM.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/ALGORITHM.md b/doc/ALGORITHM.md index 2e4b9f4..88ed236 100644 --- a/doc/ALGORITHM.md +++ b/doc/ALGORITHM.md @@ -10,7 +10,7 @@ 2. Components are assigned ranks by their value: - * **PRE_RELEASE** - known pre-release keyword (`alpha`, `beta`, `rc`). + * **PRE_RELEASE** - known pre-release keyword (`alpha`, `beta`, `pre`, `rc`). * **ZERO** - numeric component equal to zero. * **POST_RELEASE** - known post-release keyword (`patch`, `post`, `pl`). * **NONZERO** - numeric component not equal to zero. @@ -20,9 +20,10 @@ A special case exists for alphabetic component which follows numeric component, and is not followed by another numeric - component (`1.0a`, `1.0a.1`, but not `1.0a1`). Such alphabetic - component is assigned a different rank, **LETTER_SUFFIX**, which - follows **NONZERO** (choice of this behavior explained below). + component after a delimiter (`1.0a`, `1.0a.1`, but not `1.0a1` + because of lack of delimiter). Such alphabetic component is + assigned a different rank, **LETTER_SUFFIX**, which follows + **NONZERO** (choice of this behavior explained below). 3. Versions are compared component-wise.