in reply to Test the syntactic validity of a domain name
print could_be_a_host("www.domain.com\n"); # says 1 [download]