in reply to On the regex pattern variable to be inserted into another

ref(qr/a.*u/) eq 'Regexp'

bw, bliako