in reply to Infinite loop regex
ListFoo
#!/usr/bin/perl $string = 'a=111a=222a=333'; @list = $string =~ m{(a=\d+)}g; for (@list) { print "$_\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Infinite loop regex
by tlhf (Scribe) on Aug 04, 2002 at 13:43 UTC | |
by rjray (Chaplain) on Aug 04, 2002 at 23:03 UTC |