in reply to Using variables in RegEx

I recall this was recently dicussed?! Have you already tried using the /e (e modifier) or even /ee (double e modifier)? You can also fiddle with the eval statement.