From 68891336e6c77fc3769ab98aa2a44ff0e7904a1b Mon Sep 17 00:00:00 2001 From: shoopea Date: Mon, 6 May 2019 15:46:34 +0800 Subject: [PATCH] test --- workers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workers.go b/workers.go index d2bfa55..ef7da5e 100644 --- a/workers.go +++ b/workers.go @@ -81,7 +81,7 @@ func SQLIdentifyMsgWorker(id int, objIds <-chan int64) { // r := regexp.MustCompile(`^(?s:.*)$`) // r := regexp.MustCompile(`^(?P.)(?P(\[[A-Z]{3}\]){0,1})(?P([A-Za-z0-9 ]*))(?s:.*)$`) // r := regexp.MustCompile(`^(?P.)(?P(\[[A-Z]{3}\]){0,1})(?P([A-Za-z0-9 ]*)) ⚔:(?P[0-9]+)(?s:.*)$`) - r := regexp.MustCompile(`^(?P.)(?P(\[[A-Z]{3}\]){0,1})(?P([A-Za-z0-9 ]*)) ⚔:(?P[0-9]+) 🛡:(?P[0-9]+)(?s:.*)$`) + r := regexp.MustCompile(`^(?P.)(?P(\[[A-Z]{3}\]){0,1})(?P([A-Za-z0-9 ]*)) ⚔:(?P[0-9]+) .:(?P[0-9]+)(?s:.*)$`) if r.FindStringSubmatch(m.Text) != nil { log.Printf("SQLIdentifyMsgWorker["+strconv.Itoa(id)+"] : War report identified (%d)\n", objId) log.Printf("SQLIdentifyMsgWorker["+strconv.Itoa(id)+"] : Castle : %s (%d)\n", r.ReplaceAllString(m.Text, "${Castle}"), objId)