function initGroupSlots(groups) {
  const slots = [];
  groups.forEach((g) => slots.push([]));
  return slots;
}
Generates an array of empty arrays prior to grouping

@param {Array} groups The array of objects containing the regex
@returns {Array} Array of empty arrays