in reply to Re: Infinite loop regex
in thread Infinite loop regex
Why bother with the redundent @list?
$string = 'a=111a=222a=333'; for ($string =~ m/(a=\d+)/g) { print "$_\n"; # any other code }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Infinite loop regex
by rjray (Chaplain) on Aug 04, 2002 at 23:03 UTC |