Use single var for regex.