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