From fd8bda7f485c98bcb15b140d3e205ca53d458303 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Wed, 24 Jul 2024 13:44:51 +0800 Subject: [PATCH] Update index.py --- plugins/redis/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/redis/index.py b/plugins/redis/index.py index fc39f3997..f9c7fa4f4 100755 --- a/plugins/redis/index.py +++ b/plugins/redis/index.py @@ -482,7 +482,7 @@ def getRedisConfInfo(): result = [] for g in gets: - rep = "^(" + g['name'] + ')\s*([.0-9A-Za-z_& ~]+)' + rep = "^(" + g['name'] + r')\s*([.0-9A-Za-z_& ~]+)' tmp = re.search(rep, content, re.M) if not tmp: if g['must_show'] == 0: