in reply to Using previous match in the same matching regexp
perlre explains the experimental postponed-regexp feature.my ($len,$substring) = ($string =~ /^(\d+) ((??{qr".{$1}"}))/);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Using previous match in the same matching regexp
by Anonymous Monk on Nov 16, 2005 at 23:17 UTC |