in reply to Re: Regex variables with delimitersin thread Regex variables with delimiters
if $line =~ ?$regexp?
But see the caution about ?...? here.
Give a man a fish: <%-{-{-{-<