From 2d05776878bf2011da265ca3194b0592ad989478 Mon Sep 17 00:00:00 2001 From: shoopea Date: Fri, 7 Jun 2019 15:58:27 +0800 Subject: [PATCH] test --- obj.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/obj.go b/obj.go index 5111db0..c774768 100644 --- a/obj.go +++ b/obj.go @@ -526,7 +526,7 @@ func silentGetObjItemID(code string, name string) int64 { return i.ObjID64 } if ok, _ := regexp.MatchString(`(u|a|e)[0-9]+`, c); ok { - r := regexp.MustCompile(`^((?P⚡\+[0-9]+) ){0,1}(?P[a-zA-Z ]+?)( \+(?P[0-9]+)⚔){0,1}( \+(?P[0-9]+)🛡){0,1}( \+(?P[0-9]+)💧){0,1}$`) + r := regexp.MustCompile(`^((?P⚡\+[0-9]+) ){0,1}(?P[a-zA-Z ']+?)( \+(?P[0-9]+)⚔){0,1}( \+(?P[0-9]+)🛡){0,1}( \+(?P[0-9]+)💧){0,1}$`) n2 := r.ReplaceAllString(n, "${BaseName}") if v, ok := cacheObjItem.Load(n2); ok { i := v.(ChatWarsItem)