in reply to Re: Some odd ambiguity in this regex (updated)
in thread Some odd ambiguity in this regex

I dont think I "contrived" anything. I did "R" and the first line was :
$_= '1223w3433.45+34';
then I did the "x". If the debugger works as you suggest, then it's not working right. It should interpret the expression correctly; if something isn't reset (which doesnt make sense ,since this happens on line 2) than it needs to get reset..

Larry?

But, you're correct it IS a debugger thing because the interpretation is correct outside dbg...

Replies are listed 'Best First'.
Re^3: Some odd ambiguity in this regex (updated)
by LanX (Saint) on Jun 05, 2020 at 17:17 UTC
    Please apply this single line and show us the result:

    DB<5> x $_='12a3b'; /\d\D*/g 0 1 1 '2a' 2 '3b' DB<6>

    > But, you're correct it IS a debugger thing

    Very unlikely.

    And you've already been quick to blame Perl in the past.

    Edit

    We need a possibility to reproduce your problem before searching a hypothetical bug.

    So please reproduce, and tell us the versions of perl and the debugger.

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery