zengw commited on
Commit
f3c6e72
·
verified ·
1 Parent(s): 29b8ae8

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -126,7 +126,7 @@ PressRecent()
126
  # -----------------------------
127
  def parse_action(action_str: str) -> Tuple[str, Dict[str, Any]]:
128
  """Parse action string into action type + params."""
129
- pattern = r"^\w+\((.*)\)$"
130
  match = re.match(pattern, action_str.strip(), re.DOTALL)
131
  if not match:
132
  print(f"Invalid action type: {action_str}")
 
126
  # -----------------------------
127
  def parse_action(action_str: str) -> Tuple[str, Dict[str, Any]]:
128
  """Parse action string into action type + params."""
129
+ pattern = r"^(\w+)\((.*)\)$"
130
  match = re.match(pattern, action_str.strip(), re.DOTALL)
131
  if not match:
132
  print(f"Invalid action type: {action_str}")