From 7203b78e521d9b51f73d1498cb714c98aaa635ce Mon Sep 17 00:00:00 2001 From: shoopea Date: Fri, 14 Jun 2019 12:47:17 +0800 Subject: [PATCH] test --- obj.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/obj.go b/obj.go index fa3daa1..6c2975c 100644 --- a/obj.go +++ b/obj.go @@ -626,10 +626,10 @@ func silentGetObjItemID(code string, name string) int64 { s := strings.ToUpper(regexp.QuoteMeta(i.Name)) m := fmt.Sprintf("^(%s.*|.*%s)$ ", s, s) if ok, _ := regexp.MatchString(m, n2); ok { - log.Printf("Found a match for %s : %s\n", n2, s) + log.Printf("%s => Found a match for %s : %s\n", m, n2, s) return false } else { - log.Printf("Match still not found %s : %s\n", n2, s) + log.Printf("%s => Match still not found %s : %s\n", m, n2, s) i = ChatWarsItem{ ObjID64: 0, }