def __init__(self, match, template, text):
self.regex = re.match(match, text, re.M)<EOL>self.template = template<EOL>
Initialize the object as a clone of another regex, but add a hook
        to it this time.