Replaced correct regex for vars match