Skip to content

Commit

Permalink
Add square barckets to evaluator regex
Browse files Browse the repository at this point in the history
  • Loading branch information
gunnar-enerin authored Feb 22, 2024
1 parent 0db0d6f commit 29394fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/streamsync/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 29394fe

Please sign in to comment.