in reply to Re: Doing by global regex does not work as on debug
in thread Doing by global regex does not work as on debug
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
|
|---|