there is a quote missing, yes!
... apart from this it "works".
DB<324> $str='kklmn' # end quote added DB<325> $str=~ s/(?=(kkl))(?(1)\g1|mn)/***/g DB<326> print $str ***mn DB<327>
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
In reply to Re^2: Doing by global regex does not work as on debug
by LanX
in thread Doing by global regex does not work as on debug
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |