changes
This commit is contained in:
parent
d79ca1f994
commit
b3b50f7273
@ -27,7 +27,7 @@ module Mongo
|
|||||||
|
|
||||||
HOST_REGEX = /(?<host>[-.\w]+)/
|
HOST_REGEX = /(?<host>[-.\w]+)/
|
||||||
PORT_REGEX = /(?::(?<port>\w+))?/
|
PORT_REGEX = /(?::(?<port>\w+))?/
|
||||||
NODE_REGEX = /((?<nodes>#{HOST_REGEX}#{PORT_REGEX},?)+)/
|
NODE_REGEX = /(?<nodes>(#{HOST_REGEX}#{PORT_REGEX},?)+)/
|
||||||
|
|
||||||
PATH_REGEX = /(?:\/(?<path>[-\w]+))?/
|
PATH_REGEX = /(?:\/(?<path>[-\w]+))?/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user