@property
def matched_text(self) -> str:
    if (self.last_match is not None):
        return self.last_match.group()
    else:
        return None
@property
def matched_text(self) -> str:
    if (self.last_match is not None):
        return self.last_match.group()
    else:
        return None