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 a0037a6 commit e48ed59Copy full SHA for e48ed59
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