in reply to Re: regex hangs forever
in thread regex hangs forever

/g makes the difference
C:\>perl -le"print $1 while '1234' =~ /(\d)/g" 1 2 3 4 C:\>