def process_regex(self, key):
        """
        Extract the value of key from dictionary if available
        and process it as a python regex
        """
        return re.compile(self.output_dict[key]) if \
            key in self.output_dict else None
def process_regex ( self , key ) : return re . compile ( self . output_dict [ key ] ) if key in self . output_dict else None
Extract the value of key from dictionary if available
        and process it as a python regex