develooper Front page | perl.perl5.porters | Postings from February 2003

Re: [perl #21348] Regex remembers too much ?

Thread Previous | Thread Next
From:
Enache Adrian
Date:
February 23, 2003 18:00
Subject:
Re: [perl #21348] Regex remembers too much ?
Message ID:
20030224020139.GA5561@ratsnest.hole
On Sun, Feb 23, 2003 at 11:40:52PM -0000, perl-5.8.0@ton.iguana.be (via RT) wrote:
> 
> perl -wle '$_="a"; print 1 if /\pL+$/;s/a//; $_="a"; print 2 if /\pL+$/;'
> 1
> 
> Where did the second match go ????

No longer in bleadperl.

Maybe that's my patch to S_regrepeat ( change #18608, pushed further by
jhi with #18609 ) which fixed it ?

Regards

Adi

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