def compile_expression(self, expr):
        for compiler in self.COMPILERS:
            match = compiler.value_re.match(expr)
            if match:
                compiled_expr = compiler(**match.groupdict())
                self.expressions.append(compiled_expr)
                return

        raise ValueError('Unrecognized expression "%s" for field "%s"' % (expr, self.name))
dataset/ETHPy150Open agronholm/apscheduler/apscheduler/triggers/cron/fields.py/BaseField.compile_expression/original