summaryrefslogtreecommitdiffstats
path: root/iredis/redis_grammar.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-07-17 07:34:48 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-07-17 07:34:57 +0000
commitd71fd6264d58795c50b9350d7c39677b671e0896 (patch)
tree0aa9e0bd923a00b9ddda4e01af55a76ed314097c /iredis/redis_grammar.py
parentReleasing debian version 1.9.1-3. (diff)
downloadiredis-d71fd6264d58795c50b9350d7c39677b671e0896.tar.xz
iredis-d71fd6264d58795c50b9350d7c39677b671e0896.zip
Merging upstream version 1.9.4.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'iredis/redis_grammar.py')
-rw-r--r--iredis/redis_grammar.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/iredis/redis_grammar.py b/iredis/redis_grammar.py
index f03459f..e680839 100644
--- a/iredis/redis_grammar.py
+++ b/iredis/redis_grammar.py
@@ -147,7 +147,7 @@ VALID_TOKEN = r"""(
)"""
PATTERN = fr"(?P<pattern>{VALID_TOKEN})"
VALID_SLOT = r"\d+" # TODO add range? max value:16384
-VALID_NODE = r"\d+"
+VALID_NODE = r"\w+"
NUM = r"\d+"
NNUM = r"-?\+?\(?\[?(\d+|inf)" # number cloud be negative
_FLOAT = r"-?(\d|\.|e)+"