code: func IsEnvVarName(value string) []string {
  	var errs []string
  	if !envVarNameRegexp.MatchString(value) {
  		errs = append(errs, RegexError(envVarNameFmtErrMsg, envVarNameFmt, "my.env-name", "MY_ENV.NAME", "MyEnvName1"))
  	}
  
  	errs = append(errs, hasChDirPrefix(value)...)
  	return errs
  }
docs: // IsEnvVarName tests if a string is a valid environment variable name.