weppos / whois-parser

An intelligent — pure Ruby — WHOIS parser.
https://whoisrb.org
MIT License
98 stars 102 forks source link

.org domain parsing fails with "error!': Unexpected token" #97

Closed peterhoeg closed 6 years ago

peterhoeg commented 6 years ago

Example code:

#!/usr/bin/env ruby

require 'bundler/setup'
require 'whois'
require 'whois-parser'

whois = Whois.whois('example.org')
puts whois.parser.created_on
talarini commented 6 years ago

I've just created an PR fixing this issue PR https://github.com/weppos/whois-parser/pull/98

Just a correction in regex to allow more than one \n on disclaimer's text

talarini commented 6 years ago

@weppos Hey, can you please merge the Pull Requests? There's a lot of domain parse broken but already fixed on others Pull Request sent months ago.. Thanks!