diff --git a/lib/vagrant/util/platform.rb b/lib/vagrant/util/platform.rb index fc97dcdbe..b9d4df6d9 100644 --- a/lib/vagrant/util/platform.rb +++ b/lib/vagrant/util/platform.rb @@ -397,7 +397,7 @@ module Vagrant valid = false result = Util::Subprocess.execute("vagrant.exe", "version") if result.exit_code == 0 - windows_version = result.stdout.match(/Installed Version: (?.+$)/) + windows_version = result.stdout.match(/Installed Version: (?[\w.-]+)/) if windows_version windows_version = windows_version[:version].strip valid = windows_version == Vagrant::VERSION