in reply to
Re^2: Perl Regex Repeating Patterns
in thread Perl Regex Repeating Patterns
The following regex worked properly. ... If there is a better way to do this ...
Even after adding (just for the heck of it) a closing } brace, all I get is an infinite loop. What code are you running?
>perl -wMstrict -le
print 0+@index; <STDIN>;
Terminating on signal SIGINT(2)