Fix regex syntax for 1.8

This commit is contained in:
Mitchell Hashimoto 2012-01-04 16:18:11 -08:00
parent 33551eca47
commit 175d95fcf1
1 changed files with 1 additions and 1 deletions

View File

@ -223,7 +223,7 @@ module Vagrant
end
output = execute("list", "vms")
if output =~ /^"#{name}" {(.+?)}$/
if output =~ /^"#{name}" \{(.+?)\}$/
return $1.to_s
end