code: func FailedPattern(name, in, pattern string) *Validation {
  	var msg string
  	if in == "" {
  		msg = fmt.Sprintf(patternFailNoIn, name, pattern)
  	} else {
  		msg = fmt.Sprintf(patternFail, name, in, pattern)
  	}
  
  	return &Validation{
  		code:    PatternFailCode,
  		Name:    name,
  		In:      in,
  		message: msg,
  	}
  }
docs: // FailedPattern error for when a string fails a regex pattern match
  // the pattern that is returned is the ECMA syntax version of the pattern not the golang version.