Merge pull request #811 from lixiumei123/main

add(modbus tcp):add the address regularity of modbus tcp
This commit is contained in:
fengzeroz
2022-09-22 13:35:51 +08:00
committed by GitHub
2 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ $ cd zlog
$ make && sudo make install
```
[jansson](https://github.com/akheron/jansson)
[jansson](https://github.com/neugates/jansson.git)
```shell
$ git clone https://github.com/neugates/jansson.git
$ cd jansson && mkdir build && cd build
+6 -6
View File
@@ -2,27 +2,27 @@
"tag_regex": [
{
"type": 3,
"regex": "[0-9]+![3-4][0-9]+(#B|#L|)$"
"regex": "^[0-9]+![3-4][0-9]+(#B|#L|)$"
},
{
"type": 4,
"regex": "[0-9]+![3-4][0-9]+(#B|#L|)$"
"regex": "^[0-9]+![3-4][0-9]+(#B|#L|)$"
},
{
"type": 5,
"regex": "[0-9]+![3-4][0-9]+(#BB|#BL|#LL|#LB|)$"
"regex": "^[0-9]+![3-4][0-9]+(#BB|#BL|#LL|#LB|)$"
},
{
"type": 6,
"regex": "[0-9]+![3-4][0-9]+(#BB|#BL|#LL|#LB|)$"
"regex": "^[0-9]+![3-4][0-9]+(#BB|#BL|#LL|#LB|)$"
},
{
"type": 9,
"regex": "[0-9]+![3-4][0-9]+(#BB|#BL|#LL|#LB|)$"
"regex": "^[0-9]+![3-4][0-9]+(#BB|#BL|#LL|#LB|)$"
},
{
"type": 11,
"regex": "[0-9]+!([0-1][0-9]+|[3-4][0-9]+.([0-9]|[0-1][0-5]))$"
"regex": "^[0-9]+!([0-1][0-9]+|[3-4][0-9]+\\.([0-9]|[0-1][0-5]))$"
}
],
"host": {