Fix simple patterns throwing errors
This commit is contained in:
parent
45e22185dc
commit
16e4b8e6d8
1 changed files with 4 additions and 0 deletions
|
@ -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 {}
|
||||
|
|
Loading…
Reference in a new issue