Creates a new group sequence.
array<string|string[]|GroupSequence> $groups The groups in the sequence:
public function __construct(array $groups) { $this->groups = $groups['value'] ?? $groups; }