Skip to content

Commit

Permalink
Fix simple patterns throwing errors
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Jul 21, 2021
1 parent 45e2218 commit 16e4b8e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions reactbot/simplepattern.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ class BlankMatch:
def groups() -> List[str]:
return []

@staticmethod
def group(group: int) -> str:
return ""

@staticmethod
def groupdict() -> Dict[str, str]:
return {}
Expand Down

0 comments on commit 16e4b8e

Please sign in to comment.