We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 35378ab commit f5b2340Copy full SHA for f5b2340
1 file changed
src/a2a/utils/proto_utils.py
@@ -18,10 +18,8 @@
18
19
20
# Regexp patterns for matching
21
-_TASK_NAME_MATCH = r'tasks/([a-zA-Z0-9_.-]+)'
22
-_TASK_PUSH_CONFIG_NAME_MATCH = (
23
- r'tasks/([a-zA-Z0-9_.-]+)/pushNotificationConfigs/([a-zA-Z0-9_.-]+)'
24
-)
+_TASK_NAME_MATCH = r'tasks/([^/]+)'
+_TASK_PUSH_CONFIG_NAME_MATCH = r'tasks/([^/]+)/pushNotificationConfigs/([^/]+)'
25
26
27
class ToProto:
0 commit comments