C:\>perl -le"print $1 while '1234' =~ /(\d)/g" 1 2 3 4 C:\> [download]
In reply to Re^2: regex hangs forever by Anonymous Monk in thread regex hangs forever by Anonymous Monk