docs: function (integer, patternDescription, formatSymbols) {
              if (!patternDescription.hasGrouping) {
                  // No grouping is used in the pattern, no need to do anything
                  return integer;
              }
  
              var grouping = formatSymbols.groupingSeparator, pattern = patternDescription.integer, repeat = patternDescription.regularGroup;
              var lengths = [];
  
              if (repeat > 0) {
                  lengths = repeat;
              } else {
                  // The pattern is not regular, build the array for chunk
                  var tokens = pattern.split(",");
                  for (var i = tokens.length - 1; i > 0; i -= 1) {
                      // The last token shouldn't be considered because it should contain the remainings
                      lengths.push(tokens[i].length);
                  }
              }
  
              return ariaUtilsString.chunk(integer, lengths).join(grouping);
          }