Skip to content

Commit

Permalink
solve regex parsing error
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosFerLo committed Nov 1, 2023
1 parent c43e922 commit 38723b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synthetic/agents/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def __init__(self,

self._validate_signature(signature)
self.signature = signature
self.signature_pattern = re.compile(signature, key_pattern_dict={ "name": r"(\S*)" })
self.signature_pattern = re.compile(signature, key_pattern_dict={ "name": "(\\S*)" })

self.partial_signature, self.function_output_suffix = signature.split("{output}")
self.partial_signature_pattern = re.compile(self.partial_signature + "$", key_pattern_dict={ "name": r"(\S*)"}, flags = re.M)
Expand Down

0 comments on commit 38723b8

Please sign in to comment.