diff --git a/src/streamsync/core.py b/src/streamsync/core.py index 0e1d46fa2..85ff703b9 100644 --- a/src/streamsync/core.py +++ b/src/streamsync/core.py @@ -749,7 +749,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