From dcf823522a23e14040bcbc5f0e425f7b36c9ce2c Mon Sep 17 00:00:00 2001 From: Timur Ismagilov Date: Fri, 7 Apr 2023 15:45:09 +0300 Subject: [PATCH] Fix version retrieval procedure --- version/version.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version/version.go b/version/version.go index 4276d58..5f606ae 100644 --- a/version/version.go +++ b/version/version.go @@ -15,7 +15,7 @@ var Long string // Short is the human-friendly x.y.z part of the long version string. var Short string -var versionRegexp = regexp.MustCompile(`This is documentation for \*\*Mycorrhiza Wiki\*\* (.*).`) +var versionRegexp = regexp.MustCompile(`This is documentation for Mycorrhiza Wiki (.*)\. `) func init() { if b, err := help.Get("en"); err == nil {