update
This commit is contained in:
parent
9bd437f1e8
commit
684dc2cb5f
2
msg.go
2
msg.go
@ -430,7 +430,7 @@ func parseSubTypeMessageDuelFight(m *ChatWarsMessage, r *regexp.Regexp) (*ChatWa
|
||||
func parseSubTypeMessageQuestResultAmbush(m *ChatWarsMessage, r *regexp.Regexp) (*ChatWarsMessageQuestResultAmbush, error) {
|
||||
cwm := ChatWarsMessageQuestResultAmbush{}
|
||||
|
||||
re := regexp.MustCompile(`(([0-9] x ){0,1}[a-zA-Z ]* lvl\.[0-9]*)`)
|
||||
re := regexp.MustCompile(`([0-9] x ){0,1}[a-zA-Z ]* lvl\.[0-9]*`)
|
||||
for _, l := range re.FindAllStringSubmatch(r.ReplaceAllString(m.Text, "${Monsters}"), -1) {
|
||||
log.Printf("parseSubTypeMessageQuestResultAmbush : %s\n", l[1])
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user