From fc1e4f7533a025bf89063970b9953086caea4060 Mon Sep 17 00:00:00 2001 From: Roman Semenov Date: Fri, 18 Aug 2017 18:58:45 +0300 Subject: [PATCH] Fix #8901 --- lib/vagrant/util/platform.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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