However, I can vaguely see problems getting the capturing desired, if it isn't conveniently what happens when trying to scale.DB<1> $x = qr/(\d\s+foo)/; DB<2> $y = 'alpha beta 1 foo gamma delta 2 foo epsilon omega'; DB<3> @z = $y =~ /$x[^\r\n]*$x/; DB<4> x @z 0 '1 foo' 1 '2 foo' DB<5>
-QM
--
Quantum Mechanics: The dreams stuff is made of
In reply to Re^4: PCRE: Repeating Subpattens After Intervening Characters
by QM
in thread PCRE: Repeating Subpattens After Intervening Characters
by schnarff
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |