diff --git a/Install-dependencies.md b/Install-dependencies.md index 58a910ca..a4382c05 100644 --- a/Install-dependencies.md +++ b/Install-dependencies.md @@ -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 diff --git a/plugins/modbus/modbus-tcp.json b/plugins/modbus/modbus-tcp.json index 98d656ec..65ef7ae8 100644 --- a/plugins/modbus/modbus-tcp.json +++ b/plugins/modbus/modbus-tcp.json @@ -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": {