I’d like to be able to search a named hive for keys whose names match
a given regular expression.
I found, for example:
\AdwareAlert\RegInfo’) do |reg|
which let me specify a specific key in the HKCU hive and print the
value of one of its entries.
I don’t actually know why the foregoing is even syntactically correct
says HKEY_CURRENT_USER is a constant in Win32::Registry. Therefore,
it seems to me that HKEY_CURRENT_USER can’t have a method “open”.