From 8a859559cc8aed144961701771fca127ee68ad73 Mon Sep 17 00:00:00 2001 From: cdle <798731886@qq.com> Date: Sun, 26 Sep 2021 20:17:59 +0800 Subject: [PATCH] update --- core/init.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/init.go b/core/init.go index 1eb8f7d..8c98299 100644 --- a/core/init.go +++ b/core/init.go @@ -30,7 +30,7 @@ func init() { scanner := bufio.NewScanner(file) for scanner.Scan() { line := scanner.Text() - if v := regexp.MustCompile(`^\s*set\s+(\S+)\s+(\S+)\s+(\S+)`).FindStringSubmatch(line); len(v) > 0 { + if v := regexp.MustCompile(`^\s*set\s+(\S+)\s+(\S+)\s+(\S+.*)`).FindStringSubmatch(line); len(v) > 0 { b := Bucket(v[1]) if b.Get(v[2]) != v[3] { b.Set(v[2], v[3])