Update splitkey method to match better on windows
parent
746b63f76a
commit
6a0534de14
|
@ -418,7 +418,7 @@ class Registry
|
||||||
# 'Software\Dog' ]
|
# 'Software\Dog' ]
|
||||||
#
|
#
|
||||||
def self.splitkey(str)
|
def self.splitkey(str)
|
||||||
if (str =~ /^(.+?)\\(.*)$/)
|
if (str =~ /^(.+?)[\\]{1,}(.*)$/)
|
||||||
[ key2str($1), $2 ]
|
[ key2str($1), $2 ]
|
||||||
else
|
else
|
||||||
[ key2str(str), nil ]
|
[ key2str(str), nil ]
|
||||||
|
|
Loading…
Reference in New Issue