code: func splitFormatOnSemicolon(format string) ([]string, error) {
  	var formats []string
  	prevIndex := 0
  	for i := 0; i < len(format); i++ {
  		if format[i] == ';' {
  			formats = append(formats, format[prevIndex:i])
  			prevIndex = i + 1
  		} else if format[i] == '\\' {
  			i++
  		} else if format[i] == '"' {
  			endQuoteIndex := strings.Index(format[i+1:], "\"")
  			if endQuoteIndex == -1 {
  				// This is an invalid format string, fall back to general
  				return nil, errors.New("invalid format string, unmatched double quote")
  			}
  			i += endQuoteIndex + 1
  		}
  	}
  	return append(formats, format[prevIndex:]), nil
  }
docs: // splitFormatOnSemicolon will split the format string into the format sections
  // This logic to split the different formats on semicolon is fully correct, and will skip all literal semicolons,
  // and will catch all breaking semicolons.