From 7ef68d3c0942f8a274a24e417f295e5b1c3c69cb Mon Sep 17 00:00:00 2001 From: shoopea Date: Sat, 29 Feb 2020 17:29:51 +0800 Subject: [PATCH] typo --- msg.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/msg.go b/msg.go index fffadde..6871a3a 100644 --- a/msg.go +++ b/msg.go @@ -102,7 +102,7 @@ func parseSubTypeMessageAlchStockAck(m *ChatWarsMessage, r *regexp.Regexp) (*Cha log.Printf("parseSubTypeMessageAlchStockAck : Start\n") - re := regexp.MustCompile(`\n\/aa_([0-9]{2}) ([a-zA-Z ']+) x (?[0-9]+)`) + re := regexp.MustCompile(`\n\/aa_([0-9]{2}) ([a-zA-Z ']+) x ([0-9]+)`) for _, l := range re.FindAllStringSubmatch(r.ReplaceAllString(m.Text, "${Stuff}"), -1) { log.Printf("parseSubTypeMessageAlchStockAck : %+q\n", l) i := getObjItemID(l[1], ``)