Is it possible to use interpolation in a regex operator constraint

As the title mentions.
Is it possible to use interpolation in a regex constraint

suppose I have something like this as my metadata

meta {
a =“1”
b = “0_1”
}

is it possible to do something like this

    constraint {
        attribute = "${meta.b}"
        operator  = "regexp"
        value     = ".*${meta.a}"
    }

The above does not work. I wanted to know if there is a way for me to implement this use case in a different way ?