code: func (conf *rExecConf) validate() error {
  	// Validate the filters
  	if conf.node != "" {
  		if _, err := regexp.Compile(conf.node); err != nil {
  			return fmt.Errorf("Failed to compile node filter regexp: %v", err)
  		}
  	}
  	if conf.service != "" {
  		if _, err := regexp.Compile(conf.service); err != nil {
  			return fmt.Errorf("Failed to compile service filter regexp: %v", err)
  		}
  	}
  	if conf.tag != "" {
  		if _, err := regexp.Compile(conf.tag); err != nil {
  			return fmt.Errorf("Failed to compile tag filter regexp: %v", err)
  		}
  	}
  	if conf.tag != "" && conf.service == "" {
  		return fmt.Errorf("Cannot provide tag filter without service filter.")
  	}
  	return nil
  }
docs: // validate checks that the configuration is sane