lib/whois/domain/gov.rb in jm81-whois-0.6.0 vs lib/whois/domain/gov.rb in jm81-whois-0.7.0
- old
+ new
@@ -1,10 +1,10 @@
# All I know how to get so far is domain name and status.
# There is a web interface at http://www.dotgov.gov/whois.aspx
# with more detail.
class Whois::Domain::Gov < Whois::Domain::Base
HOST = "whois.nic.gov"
- ATTR_MATCH = /^([^:]+):\s(.*)\r$/
+ ATTR_MATCH = /^\s*([^:]+):\s(.*)$/
responds_to :gov
ATTR_NAMES = {
}
\ No newline at end of file