fixed regex for matching the command line --vars