mirror of
https://github.com/semver/semver.git
synced 2025-08-22 22:08:33 +00:00
chore: add link to Regex101
This commit is contained in:
parent
b6010889cb
commit
66ee767b79
@ -359,6 +359,8 @@ See: <https://regex101.com/r/vkijKf/1/>
|
|||||||
|
|
||||||
One that is compatible with Bash:
|
One that is compatible with Bash:
|
||||||
|
|
||||||
|
See: <https://regex101.com/r/yPKUVq/1>
|
||||||
|
|
||||||
```
|
```
|
||||||
^(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)(-((0|[1-9][0-9]*|[0-9]*[a-zA-Z-][0-9a-zA-Z-]*)(\.(0|[1-9][0-9]*|[0-9]*[a-zA-Z-][0-9a-zA-Z-]*))*))?(\+([0-9a-zA-Z-]+(\.[0-9a-zA-Z-]+)*))?$
|
^(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)(-((0|[1-9][0-9]*|[0-9]*[a-zA-Z-][0-9a-zA-Z-]*)(\.(0|[1-9][0-9]*|[0-9]*[a-zA-Z-][0-9a-zA-Z-]*))*))?(\+([0-9a-zA-Z-]+(\.[0-9a-zA-Z-]+)*))?$
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user