def __init__(self, pattern, flags=0):
        'do and save re.compile(pattern, flags)'
        self._pattern = re.compile(pattern, flags)
do and save re.compile(pattern, flags)
recipes/Python/456151_Using_rematch_research_regroif__elif__elif_/recipe-456151.py