use a variable to hold the regex