Patch Hello world pattern

This commit is contained in:
Benjamin
2022-03-20 13:53:34 +01:00
parent c9f317f931
commit 52032b5676
2 changed files with 2 additions and 2 deletions

View File

@@ -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