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