From 6c6177a9173d9b11bf9e977b58907a0edec9ed71 Mon Sep 17 00:00:00 2001 From: shoopea Date: Mon, 20 May 2019 20:40:16 +0800 Subject: [PATCH] test --- rules.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/rules.go b/rules.go index 762c921..628c34a 100644 --- a/rules.go +++ b/rules.go @@ -68,7 +68,9 @@ func resetMsgParsingRules() { `(( )+(?P[a-z0-9]+)( )+(?P[0-9]+)){0,1}` + `(( )+(?P[a-z0-9]+)( )+(?P[0-9]+)){0,1}` + `(( )+(?P[a-z0-9]+)( )+(?P[0-9]+)){0,1}$") - ,(5000, ` + strconv.Itoa(objSubTypeMessageWithdrawCode) + `, "Withdraw Code", "^Withdrawing:\\n$` + + ,(5000, ` + strconv.Itoa(objSubTypeMessageWithdrawCode) + `, "Withdraw Code", "^Withdrawing Potion of Rage x 10. Recipient shall send to bot:\\n` + + `/g_receive [a-z0-9]+$") + ,(5000, ` + strconv.Itoa(objSubTypeMessageWithdrawCode) + `, "Withdraw Code", "^Withdrawing:\\n` + `(?P.*) x (?P.*)\\n` + `((?P.*) x (?P.*)\\n){0,1}` + `((?P.*) x (?P.*)\\n){0,1}` + @@ -79,7 +81,7 @@ func resetMsgParsingRules() { `((?P.*) x (?P.*)\\n){0,1}` + `Recipient shall send to bot:\\n` + `/g_receive [a-z0-9]+$") - ,(5000, ` + strconv.Itoa(objSubTypeMessageWithdrawRcv) + `, "Withdraw Code", "^Received:\\n$` + + ,(5000, ` + strconv.Itoa(objSubTypeMessageWithdrawRcv) + `, "Withdraw Code", "^Received:\\n` + `(?P.*) x (?P.*)\\n` + `((?P.*) x (?P.*)\\n){0,1}` + `((?P.*) x (?P.*)\\n){0,1}` +