code: func splitTerms(fieldSelector string) []string {
  	if len(fieldSelector) == 0 {
  		return nil
  	}
  
  	terms := make([]string, 0, 1)
  	startIndex := 0
  	inSlash := false
  	for i, c := range fieldSelector {
  		switch {
  		case inSlash:
  			inSlash = false
  		case c == '\\':
  			inSlash = true
  		case c == ',':
  			terms = append(terms, fieldSelector[startIndex:i])
  			startIndex = i + 1
  		}
  	}
  
  	terms = append(terms, fieldSelector[startIndex:])
  
  	return terms
  }
docs: // splitTerms returns the comma-separated terms contained in the given fieldSelector.
  // Backslash-escaped commas are treated as data instead of delimiters, and are included in the returned terms, with the leading backslash preserved.