Is it possible to capture a non fixed number of variables from a "fixed" regex? (without using /g feature).
Sort of:
@m=(); 'abcdefghijklmnopqrstuvwxyz' =~ m[(?:(?=(..)(?{ push @m, $^N })).)+]; print for @m;; ab bc cd de ef fg gh hi ij jk kl lm mn no op pq qr rs st tu uv vw wx xy yz
In reply to Re^3: Variable matching on a regex
by BrowserUk
in thread Variable matching on a regex
by LaintalAy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |