develooper Front page | perl.perl5.porters | Postings from December 2021

Re: just thanks

Thread Previous | Thread Next
From:
Budi
Date:
December 4, 2021 22:38
Subject:
Re: just thanks
Message ID:
CAH0GyZAb_qxLuhFPqTgh-PGRa4cWt9ePW-21628MmZ2MP0vixQ@mail.gmail.com
Why global regex not work on:

$str='kklmn
;$str=~ s/(?=(kkl))(?(1)\g1|mn)/***/g
print "$str\n"

***mn

only first is processed
What is t point of failure here ?
Please help

On 11/30/21, Ricardo Signes <perl.p5p@rjbs.manxome.org> wrote:
> On Sat, Nov 27, 2021, at 6:17 PM, elwood.downey@gmail.com wrote:
>> This is a thank-you report for perl from ecdowney@clearskyinstitute.com,
>> generated with the help of perlbug 1.41 running under perl 5.28.3.
>>
>> -----------------------------------------------------------------
>> wouldn't want to live in a world without perl
>> -----------------------------------------------------------------
>
> Agreed!  Fortunately, we still have Perl.  Let's keep enjoying it.  Thanks,
> Elwood.
>
> --
> rjbs

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About