Corrected variable regex to match multiple vars.