From 175d95fcf11f69eb1203b6657384efbc70a4d33d Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Wed, 4 Jan 2012 16:18:11 -0800 Subject: [PATCH] Fix regex syntax for 1.8 --- lib/vagrant/driver/virtualbox.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vagrant/driver/virtualbox.rb b/lib/vagrant/driver/virtualbox.rb index 249862102..9385f3549 100644 --- a/lib/vagrant/driver/virtualbox.rb +++ b/lib/vagrant/driver/virtualbox.rb @@ -223,7 +223,7 @@ module Vagrant end output = execute("list", "vms") - if output =~ /^"#{name}" {(.+?)}$/ + if output =~ /^"#{name}" \{(.+?)\}$/ return $1.to_s end