def extract(self, content):
raise InvalidRule(<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'.format(type(self).__name__))<EOL>
A substitution function that returns the text with which to replace the given match.
        Subclasses should implement this method.