mirror of
https://github.com/semver/semver.git
synced 2026-07-11 03:53:53 -05:00
[GH-ISSUE #1021] Provided regexp matches <version core> "+" <build> "-" <pre-release> #5746
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ykaliuta on GitHub (May 2, 2024).
Original GitHub issue: https://github.com/semver/semver/issues/1021
Looks like versions like
1.2.3+1-2match the official regexpbut it is not part of the spec
@steveklabnik commented on GitHub (May 2, 2024):
This is the problem with trying to use a regex instead of a real parser. I imagine fixing this will be not particularly pretty.
@zafarkhaja commented on GitHub (May 4, 2024):
It is part of the spec, you just need to go deeper into the
<build>identifier.@ykaliuta commented on GitHub (May 6, 2024):
True. Sorry for the noise