def METHOD_NAME(self, line):
    for pattern in self.compiled_patterns:
        match = re.search(pattern, line)
        if match:
            self._set_current_ret(line=line, match=match)
            return