test
This commit is contained in:
parent
682315e2cc
commit
02a06ece7f
18
rules.go
18
rules.go
@ -82,15 +82,15 @@ func resetMsgParsingRules() {
|
||||
`Recipient shall send to bot:\\n` +
|
||||
`/g_receive [a-z0-9]+$")
|
||||
,(5000, ` + strconv.Itoa(objSubTypeMessageWithdrawRcv) + `, "Withdraw Received #1", "^Received (?P<Item1>.*) x (?P<Quantity1>.*)$")
|
||||
,(5000, ` + strconv.Itoa(objSubTypeMessageWithdrawRcv) + `, "Withdraw Received #2", "^Received:\\n` +
|
||||
`(?P<Item1>.*) x (?P<Quantity1>.*)\\n` +
|
||||
`((?P<Item2>.*) x (?P<Quantity2>.*)\\n){0,1}` +
|
||||
`((?P<Item3>.*) x (?P<Quantity3>.*)\\n){0,1}` +
|
||||
`((?P<Item4>.*) x (?P<Quantity4>.*)\\n){0,1}` +
|
||||
`((?P<Item5>.*) x (?P<Quantity5>.*)\\n){0,1}` +
|
||||
`((?P<Item6>.*) x (?P<Quantity6>.*)\\n){0,1}` +
|
||||
`((?P<Item7>.*) x (?P<Quantity7>.*)\\n){0,1}` +
|
||||
`((?P<Item8>.*) x (?P<Quantity8>.*)\\n){0,1}$")
|
||||
,(5000, ` + strconv.Itoa(objSubTypeMessageWithdrawRcv) + `, "Withdraw Received #2", "^Received:` +
|
||||
`(\\n?P<Item1>.*) x (?P<Quantity1>.*)` +
|
||||
`(\\n(?P<Item2>.*) x (?P<Quantity2>.*)){0,1}` +
|
||||
`(\\n(?P<Item3>.*) x (?P<Quantity3>.*)){0,1}` +
|
||||
`(\\n(?P<Item4>.*) x (?P<Quantity4>.*)){0,1}` +
|
||||
`(\\n(?P<Item5>.*) x (?P<Quantity5>.*)){0,1}` +
|
||||
`(\\n(?P<Item6>.*) x (?P<Quantity6>.*)){0,1}` +
|
||||
`(\\n(?P<Item7>.*) x (?P<Quantity7>.*)){0,1}` +
|
||||
`(\\n(?P<Item8>.*) x (?P<Quantity8>.*)){0,1}$")
|
||||
,(5000, ` + strconv.Itoa(objSubTypeMessageDepositReq) + `, "Deposit Req", "^/g_deposit (?P<Item>[a-z0-9]+) (?P<Quantity>[0-9]+)$")
|
||||
,(5000, ` + strconv.Itoa(objSubTypeMessageDepositAck) + `, "Deposit Ack #2", "^Deposited successfully: (?P<Item>.*) \\((?P<Quantity>[0-9]+)\\)$")
|
||||
,(5000, ` + strconv.Itoa(objSubTypeMessageDepositAck) + `, "Deposit Ack #1", "^Deposited (?P<Item>.*) \\((?P<Quantity>[0-9]+)\\) successfully$")
|
||||
|
Loading…
Reference in New Issue
Block a user