diff --git a/bot.go b/bot.go index 75c0c94..3d7f9d0 100644 --- a/bot.go +++ b/bot.go @@ -729,7 +729,7 @@ func botGWithdraw(m *tb.Message) { Status: 0, } */ - r := regexp.MustCompile("^(( )*[a-z0-9]+ [0-9]+( )*)+$") + r := regexp.MustCompile("[a-z0-9]+ [0-9]+") for _, l := range r.FindAllStringSubmatch(m.Payload, -1) { fmt.Printf("%v\n", l) /*