We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45e1099 commit 2a0d2bfCopy full SHA for 2a0d2bf
GitVersionCore/SemanticVersion.cs
@@ -6,7 +6,7 @@ namespace GitVersion
6
public class SemanticVersion : IFormattable, IComparable<SemanticVersion>
7
{
8
static Regex ParseSemVer = new Regex(
9
- @"[vV]?(?<SemVer>(?<Major>\d+)(\.(?<Minor>\d+))?(\.(?<Patch>\d+))?)(\.(?<FourthPart>\d+))?(-(?<Tag>[^\+]*))?(\+(?<BuildMetaData>.*))?",
+ @"(?<SemVer>(?<Major>\d+)(\.(?<Minor>\d+))?(\.(?<Patch>\d+))?)(\.(?<FourthPart>\d+))?(-(?<Tag>[^\+]*))?(\+(?<BuildMetaData>.*))?",
10
RegexOptions.Compiled);
11
12
public int Major;
0 commit comments