From 397eabc025026578203b421f951c2b1aee168e2e Mon Sep 17 00:00:00 2001 From: shoopea Date: Sat, 15 Feb 2020 14:32:35 +0800 Subject: [PATCH] update valentine --- msg.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/msg.go b/msg.go index 9bcd814..bfbb85e 100644 --- a/msg.go +++ b/msg.go @@ -142,7 +142,7 @@ func parseSubTypeMessageStockAck(m *ChatWarsMessage, r *regexp.Regexp) (*ChatWar cwm := ChatWarsMessageStockAck{} items := []ChatWarsItems{} - re := regexp.MustCompile(`\n([a-zA-Z ❄️]+) \(([0-9]+)\)`) + re := regexp.MustCompile(`\n([a-zA-Z ❄️💘]+) \(([0-9]+)\)`) for _, l := range re.FindAllStringSubmatch(r.ReplaceAllString(m.Text, "${Items}"), -1) { i := getObjItemID(``, l[1]) q, _ := strconv.ParseInt(l[2], 10, 64)