That first example can change... number of changes, number of users, and the names. The second one is always the same format.
I want to be able to extract the names in the first example, using matching. (I can't use named groups, stuck in PERL 5.08 hell). I've gotten as far as determining the count for number of users and then building a regex to extract them all.
My problem is that I don't know how to address the results in a foreach to then extract the user names. How do I address the results of the matching in a loop? I want to be able to foreach $counter (3..($3)) (I know $1 and $2 are the # of changes and # of users) and then get the other matches using $counter as the subscript?