# File lib/whois/record/parser/scanners/whois.nic.it.rb, line 59 def parse_section if @input.scan(/([^:]+?)\n/) section = @input[1].strip content = parse_section_pairs || parse_section_items @input.match?(/\n+/) || error!("Unexpected end of section") @ast[section] = content end end