test
This commit is contained in:
parent
cd5b0321fd
commit
5aaffdc789
3
msg.go
3
msg.go
@ -475,7 +475,8 @@ func parseSubTypeMessageGListAck(m *ChatWarsMessage, r *regexp.Regexp) (*ChatWar
|
|||||||
|
|
||||||
re := regexp.MustCompile(`\n#(?P<Id>[0-9]+) (?P<Class1>[⚒⚗️📦🏹⚔️🛡])(?P<Class2>[⚒⚗️📦🏹⚔️🛡]{0,1})(?P<Level>[0-9]+) \\[(?P<Status>.*)\\] (?P<Name>[a-zA-z0-9 ]+)`)
|
re := regexp.MustCompile(`\n#(?P<Id>[0-9]+) (?P<Class1>[⚒⚗️📦🏹⚔️🛡])(?P<Class2>[⚒⚗️📦🏹⚔️🛡]{0,1})(?P<Level>[0-9]+) \\[(?P<Status>.*)\\] (?P<Name>[a-zA-z0-9 ]+)`)
|
||||||
for _, l := range re.FindAllString(r.ReplaceAllString(m.Text, "${Members}"), -1) {
|
for _, l := range re.FindAllString(r.ReplaceAllString(m.Text, "${Members}"), -1) {
|
||||||
log.Printf("parseSubTypeMessageGListAck : %d : %s/%s : %s [%d] => %s\n")
|
//log.Printf("parseSubTypeMessageGListAck : %d : %s/%s : %s [%d] => %s\n")
|
||||||
|
log.Printf("parseSubTypeMessageGListAck : %s\n", l)
|
||||||
}
|
}
|
||||||
|
|
||||||
return &cwm, nil
|
return &cwm, nil
|
||||||
|
Loading…
Reference in New Issue
Block a user