Front page | perl.perl5.porters |
Postings from January 2012
January 30, 2012 02:04
Message ID: CANgJU+VEn81M=tSukGEu5p2vunox_C4XZG3Usoo7t0ouRRA1dg@mail.gmail.com
On 30 January 2012 09:19, demerphq <firstname.lastname@example.org> wrote:
> On 30 January 2012 08:53, <email@example.com> wrote:
>> Oops, I think I tried to mail this from the wrong machine.
>> For your /^/m v. /[^\n]*/ patch, I was looking for an explanation in the
>> code why the change fixes the latter without breaking the former, but
>> didn't find one. Any chance you could add a comment to clarify that?
> Ah sure. Off the top of my head I think it is because the opcode for ^
> does the right thing internally in regmatch, but when it is implicit
> it isnt actually there, so basically the implicitness just controls
> the outer loop, not the behaviour of opcodes inside the inner loop.
BTW, I meant to add that I provided tests that this works, so we wont
regress on it.
Anyway, I'll try to do a patch tonite.
perl -Mre=debug -e "/just|another|perl|hacker/"