From 29394fed4e6d5ddcaba750ce7e03ff76002ab367 Mon Sep 17 00:00:00 2001 From: gunnar-enerin <122986045+gunnar-enerin@users.noreply.github.com> Date: Thu, 22 Feb 2024 12:09:34 +0100 Subject: [PATCH] Add square barckets to evaluator regex --- src/streamsync/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/streamsync/core.py b/src/streamsync/core.py index 793d570d0..f7c0a6bcb 100644 --- a/src/streamsync/core.py +++ b/src/streamsync/core.py @@ -743,7 +743,7 @@ class Evaluator: It allows for the sanitisation of frontend inputs. """ - template_regex = re.compile(r"[\\]?@{([\w\s.]*)}") + template_regex = re.compile(r"[\\]?@{([\w\s.\[\]]*)}") def __init__(self, session_state: StreamsyncState, session_component_tree: ComponentTree): self.ss = session_state