From a2befac21130bc1446b7730e5872131c604e25b3 Mon Sep 17 00:00:00 2001 From: shoopea Date: Fri, 14 Jun 2019 12:52:36 +0800 Subject: [PATCH] test --- obj.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/obj.go b/obj.go index 739c476..765ba67 100644 --- a/obj.go +++ b/obj.go @@ -624,7 +624,7 @@ func silentGetObjItemID(code string, name string) int64 { return true } s := strings.ToUpper(regexp.QuoteMeta(i.Name)) - m := fmt.Sprintf("^(%s.*|.*%s)$ ", s, s) + m := fmt.Sprintf("^(%s.*|.*%s)$", s, s) if ok, _ := regexp.MatchString(m, n2); ok { log.Printf("%s => Found a match for %s : %s\n", m, n2, s) return false