test
This commit is contained in:
parent
257acdfa70
commit
f0d5bde393
2
msg.go
2
msg.go
@ -176,7 +176,7 @@ func parseSubTypeMessageStockAck(m *ChatWarsMessage, r *regexp.Regexp) (*ChatWar
|
||||
func parseSubTypeMessageReportAck(m *ChatWarsMessage, r *regexp.Regexp) (*ChatWarsMessageReportAck, error) {
|
||||
cwm := ChatWarsMessageReportAck{}
|
||||
log.Printf("parseSubTypeMessageReport : Extra : %s\n", r.ReplaceAllString(m.Text, "${Extra}"))
|
||||
re := regexp.MustCompile(`([.^\n]+)`)
|
||||
re := regexp.MustCompile(`(.+)`)
|
||||
for i, l := range re.FindAllStringSubmatch(r.ReplaceAllString(m.Text, "${Extra}"), -1) {
|
||||
log.Printf("parseSubTypeMessageReport : Extra[%d] : %v\n", i, l)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user