@groups = grep defined, map $$_, 1..$last_capture