This commit is contained in:
Tyler Brock 2012-01-04 13:03:44 -05:00
parent d79ca1f994
commit b3b50f7273

View File

@ -27,7 +27,7 @@ module Mongo
HOST_REGEX = /(?<host>[-.\w]+)/
PORT_REGEX = /(?::(?<port>\w+))?/
NODE_REGEX = /((?<nodes>#{HOST_REGEX}#{PORT_REGEX},?)+)/
NODE_REGEX = /(?<nodes>(#{HOST_REGEX}#{PORT_REGEX},?)+)/
PATH_REGEX = /(?:\/(?<path>[-\w]+))?/