code: func parseMultilineOptions(info logger.Info) (*regexp.Regexp, error) {
  	dateTimeFormat := info.Config[datetimeFormatKey]
  	multilinePatternKey := info.Config[multilinePatternKey]
  	// strftime input is parsed into a regular expression
  	if dateTimeFormat != "" {
  		// %. matches each strftime format sequence and ReplaceAllStringFunc
  		// looks up each format sequence in the conversion table strftimeToRegex
  		// to replace with a defined regular expression
  		r := regexp.MustCompile("%.")
  		multilinePatternKey = r.ReplaceAllStringFunc(dateTimeFormat, func(s string) string {
  			return strftimeToRegex[s]
  		})
  	}
  	if multilinePatternKey != "" {
  		multilinePattern, err := regexp.Compile(multilinePatternKey)
  		if err != nil {
  			return nil, errors.Wrapf(err, "awslogs could not parse multiline pattern key %q", multilinePatternKey)
  		}
  		return multilinePattern, nil
  	}
  	return nil, nil
  }
docs: // Parses awslogs-multiline-pattern and awslogs-datetime-format options
  // If awslogs-datetime-format is present, convert the format from strftime
  // to regexp and return.
  // If awslogs-multiline-pattern is present, compile regexp and return