code: func IsMatches(str, pattern string) bool {
  	match, _ := regexp.MatchString(pattern, str)
  	return match
  }
docs: // IsMatches check if string matches the pattern (pattern is regular expression)
  // In case of error return false