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