in reply to Re: Regex capture consumed by non-capturing match
in thread Regex capture consumed by non-capturing match
my ($foo, $bar) = ($test =~ /(capt-pat-1)...(capt-pat-2)/);
Doesn't get clobbered and is quite readable I think.
-David.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Regex capture consumed by non-capturing match
by ribasushi (Pilgrim) on Jul 20, 2007 at 15:55 UTC | |
by ikegami (Patriarch) on Jul 20, 2007 at 16:29 UTC |