non-greedy re_var for lines with two variable substitutions