>>>>> On Mon, 24 Feb 2003 04:01:39 +0200, Enache Adrian <enache@rdslink.ro> said: > 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 ? ----Program---- $_="a"; print 1 if /\pL+$/;s/a//; $_="a"; print 2 if /\pL+$/; ----Output of .../perl-5.8.0@18652/bin/perl---- 1 ----EOF ($?='0')---- ----Output of .../perl-5.8.0@18653/bin/perl---- 12 ----EOF ($?='0')---- -- andreasThread Previous | Thread Next