From ae92cbe4d104bd40703749c8ff0ad1786b48f5bd Mon Sep 17 00:00:00 2001 From: shoopea Date: Sun, 18 Oct 2020 11:39:32 +0200 Subject: [PATCH] test --- msg.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/msg.go b/msg.go index f737228..8e0f1b1 100644 --- a/msg.go +++ b/msg.go @@ -474,7 +474,7 @@ func parseSubTypeMessageGListAck(m *ChatWarsMessage, r *regexp.Regexp) (*ChatWar log.Printf("parseSubTypeMessageGListAck : Guild : %s\n", r.ReplaceAllString(m.Text, "${GuildName}")) log.Printf("parseSubTypeMessageGListAck : Members : %s\n", r.ReplaceAllString(m.Text, "${Members}")) - re := regexp.MustCompile(`\n#(?P[0-9]+) (?P[โš’โš—๏ธ๐Ÿ“ฆ๐Ÿนโš”๏ธ๐Ÿ›ก])(?P[โš’โš—๏ธ๐Ÿ“ฆ๐Ÿนโš”๏ธ๐Ÿ›ก]{0,1})(?P[0-9]+) \\[(?P.*)\\] (?P[a-zA-z0-9 ]+)`) + re := regexp.MustCompile(`\n#(?P[0-9]+) (?P[โš’โš—๏ธ๐Ÿ“ฆ๐Ÿนโš”๏ธ๐Ÿ›ก])(?P[โš’โš—๏ธ๐Ÿ“ฆ๐Ÿนโš”๏ธ๐Ÿ›ก]{0,1})(?P[0-9]+) \[(?P.*)\] (?P[a-zA-z0-9 ]+)`) for _, l := range re.FindAllString(r.ReplaceAllString(m.Text, "${Members}"), -1) { //log.Printf("parseSubTypeMessageGListAck : %d : %s/%s : %s [%d] => %s\n") log.Printf("parseSubTypeMessageGListAck : %s\n", l)