return comments; }, groups(groups = defaultState.groups) { return groups; },
const matcher = value.exec(payload[key]) || [] if (matcher.length > 0) { result.groups = { ...result.groups, ...matcher.groups } currentNode[key] = payload[key] result.total += 1 const matcher = element.exec(payload[key][index]) || [] if (matcher.length > 0) { result.groups = { ...result.groups, ...matcher.groups } currentNode[key] = payload[key] result.total += 1