code: func PidOf(name string) ([]int, error) {
  	if len(name) == 0 {
  		return []int{}, fmt.Errorf("name should not be empty")
  	}
  	re, err := regexp.Compile("(^|/)" + name + "$")
  	if err != nil {
  		return []int{}, err
  	}
  	return getPids(re), nil
  }
docs: // Find process(es) with a specified name (regexp match)
  // and return their pid(s)