code: func (t *Tar) ExcludePath(pathRE string) {
  	if pathRE != "" {
  		re, err := regexp.Compile("^" + pathRE + "$")
  		if err != nil {
  			return
  		}
  		t.ignorePaths = append(t.ignorePaths, ignoreInfo{regexp: re, exclude: true, dirOnly: false})
  	}
  }
docs: // ExcludePath appends a path, file, or pattern relative to the toplevel path to
  // be archived that is then excluded from the final archive.
  // pathRE is a regex that will be anchored at the start and end then applied to
  // the entire filename (full path and basename)