We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04e40b8 commit 4584dc0Copy full SHA for 4584dc0
Editor/Preferences/SVNPreferencesWindow.cs
@@ -560,7 +560,7 @@ private static string GetVersion()
560
561
string versionLine = File.ReadAllLines(pathToPackage).Where(l => l.Contains("\"version\": ")).FirstOrDefault();
562
if (!string.IsNullOrEmpty(versionLine)) {
563
- m_Version = "WiseSVN " + System.Text.RegularExpressions.Regex.Match(versionLine, @"\d\.\d\.\d").Value;
+ m_Version = "WiseSVN " + System.Text.RegularExpressions.Regex.Match(versionLine, @"\d+\.\d+\.\d+").Value;
564
return m_Version;
565
}
566
0 commit comments