device[Regexp.last_match(1).tr(" ", "_").downcase.to_sym] = Regexp.last_match(2)
elsif line =~ /([A-Z ]+[A-Z])\s*:\s+(.*\S)\s*$/i
device[Regexp.last_match(1).tr(" ", "_").downcase.to_sym] = Regexp.last_match(2)
device[Regexp.last_match(1).tr(" ", "_").downcase.to_sym] = Regexp.last_match(2)
elsif line =~ /([A-Z ]+[A-Z])\s*:\s+(.*\S)\s*$/i
device[Regexp.last_match(1).tr(" ", "_").downcase.to_sym] = Regexp.last_match(2)