def METHOD_NAME(framework, schema_name, pattern, data_name, value):
    """
    Tests behavior of pattern slots.
    Pattern slots allow for regular expression constraints.
    Currently not supported for validation by python frameworks.
    :param framework: not supported by python frameworks
    :param schema_name: the name reflects which constraints are implementd
    :param pattern: regular expression
    :param value: value to check
    :return:
    """
    classes = {
        CLASS_C: {
            "attributes": {
                SLOT_S1: {
                    "pattern": pattern,
                },
            }
        }
    }
    schema = validated_schema(
        METHOD_NAME, schema_name, framework, classes=classes, core_elements=["pattern"]
    )
    implementation_status = ValidationBehavior.IMPLEMENTS
    is_valid = bool(re.match(pattern, value))
    if framework in [PYDANTIC, PYTHON_DATACLASSES, SQL_DDL_SQLITE]:
        if not is_valid:
            implementation_status = ValidationBehavior.INCOMPLETE
    check_data(
        schema,
        data_name,
        framework,
        {SLOT_S1: value},
        is_valid,
        expected_behavior=implementation_status,
        target_class=CLASS_C,
        description=f"matching {value} to {pattern} expected={is_valid}",
    )