Skip to content

Commit eead540

Browse files
Etienne PotThe dialog Authors
authored andcommitted
Supports () in function call name
PiperOrigin-RevId: 871298348
1 parent 481349c commit eead540

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dialog/_src/string/tool_grammar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ def _parser() -> lark.Lark:
202202
start: TOOL_NAME dict
203203
204204
# Call name (e.g. `declaration:foo`)
205-
TOOL_NAME: CNAME COLON /[ a-zA-Z0-9_:\/\\.-]+/
205+
TOOL_NAME: CNAME COLON /[ a-zA-Z0-9_:\/\\.()-]+/
206206
# TOOL_NAME: /[^{]+/ # Match all characters until `{`.
207207
208208
# Body

0 commit comments

Comments
 (0)