Patch Hello world pattern
This commit is contained in:
@@ -36,7 +36,7 @@ func main() {
|
||||
===== Init all Write here =====
|
||||
*/
|
||||
// Creation of the HelloRule
|
||||
helloRule := writers.CreateHelloRule("^HELLO ([A-Za-z0-9]{5,20}) ([0-9]{1,5})\r\n$")
|
||||
helloRule := writers.CreateHelloRule("^HELLO ([A-Za-z0-9.]{5,20}) ([0-9]{1,5})\r\n$")
|
||||
protocolRepository.AddWriter(&helloRule)
|
||||
|
||||
// Creation of the SendOkRule
|
||||
|
||||
Reference in New Issue
Block a user