I created a Grafana dashboard variable and tried to filter the values via the regex field. This works for static regex definition.
I would now like to use another variable inside the regex which provides the regex value.
So the regex field should look somehow like: /$theRealRegexVar/
I tried it with many different versions like /${theRealRegexVar}/
or /[[theRealRegexVar]]/
but it seems not to work.
Does it work somehow or is it simply impossible?
Update
The datasource is prometheus.
The regex would be a regex ;-) (for example "^.*$" - however the user would provide it in the other variable)