Skip to content

Commit

Permalink
Merge pull request #257 from gunnar-enerin/square_brackets_fix
Browse files Browse the repository at this point in the history
Add square barckets to evaluator regex
  • Loading branch information
ramedina86 authored Mar 4, 2024
2 parents 26eb89a + 29394fe commit 65f3c71
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 @@ -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
Expand Down

0 comments on commit 65f3c71

Please sign in to comment.