mirror of
https://github.com/semver/semver.git
synced 2025-08-25 23:35:30 +00:00
bnf: Simplify 'alphanumeric identifier'
This commit is contained in:
parent
cb5632f1c2
commit
9e6ab3ecdb
11
semver.md
11
semver.md
@ -159,13 +159,10 @@ Backus–Naur Form Grammar for Valid SemVer Versions
|
|||||||
<build identifier> ::= <alphanumeric identifier>
|
<build identifier> ::= <alphanumeric identifier>
|
||||||
| <digits>
|
| <digits>
|
||||||
|
|
||||||
<alphanumeric identifier> ::= <letters>
|
<alphanumeric identifier> ::= <non-digit>
|
||||||
| <letters> <identifier characters>
|
| <non-digit> <identifier characters>
|
||||||
| <digits> <non-digits>
|
| <identifier characters> <non-digit>
|
||||||
| <digits> <non-digits> <identifier characters>
|
| <identifier characters> <non-digit> <identifier characters>
|
||||||
| <digits> <identifier characters> <non-digits>
|
|
||||||
| <digits> <identifier characters> <non-digits> <identifier characters>
|
|
||||||
| "-" <identifier characters>
|
|
||||||
|
|
||||||
<numeric identifier> ::= "0"
|
<numeric identifier> ::= "0"
|
||||||
| <positive digit>
|
| <positive digit>
|
||||||
|
Loading…
Reference in New Issue
Block a user