Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disambiguate version_format_specification.md #101

Merged
merged 1 commit into from
May 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions specs/version_format_specification.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ strings are found to compare as different. In a loop:
8. Leading alphabetical prefixes are compared alphabetically.
The substrings are compared letter-by-letter.
If both letters are the same, the comparison continues with the next letter.
Capital letters compare lower than lower-case letters (`A < a`).
All capital letters compare lower than lower-case letters (`B < a`).
When the end of one substring has been reached (a non-letter character or the end
of the whole string), if the other substring has remaining letters, it compares higher.
Otherwise, the comparison continues at the following characters at point 1.
Expand Down Expand Up @@ -101,7 +101,7 @@ Examples (with '' meaning the empty string):
* `123.a < 123.b`
* `123a > 123.a`
* `11α == 11β`
* `A < a`
* `B < a`
* '' < `0`
* `0.` > `0`
* `0.0` > `0`
Expand Down
Loading