code: func (eg *exampleGenerator) generateValidatedPatternExample() interface{} {
  	if !eg.hasPatternValidation() {
  		return false
  	}
  	pattern := eg.a.Validation.Pattern
  	example, err := regen.Generate(pattern)
  	if err != nil {
  		return eg.r.faker.Name()
  	}
  	return example
  }
docs: // generateValidatedPatternExample generates a random value that satisifies the pattern. Note: if
  // multiple patterns are given, only one of them is used. currently, it doesn't support multiple.