It is possible to use variables and regexp. This works for me: regexp(predicate, /$variable/)
regexp(predicate, /$variable/)