code: func GetSearchDomains(resolvConf []byte) []string {
  	domains := []string{}
  	for _, line := range getLines(resolvConf, []byte("#")) {
  		match := searchRegexp.FindSubmatch(line)
  		if match == nil {
  			continue
  		}
  		domains = strings.Fields(string(match[1]))
  	}
  	return domains
  }
docs: // GetSearchDomains returns search domains (if any) listed in /etc/resolv.conf
  // If more than one search line is encountered, only the contents of the last
  // one is returned.