in reply to Re: ^x* vs x*$
in thread ^x* vs x*$

The first is a bug in 5.6.0. It doesn't happen in 5.005_03. It likely has been fixed by Hugo already. Anyone who wants to check that can follow my advice in Getting current versions of Perl and see if it is still there with more current patches.

We're three years later. 5.8.1-RC4 and bleadperl still have this bug.

Abigail

Replies are listed 'Best First'.
Re^2: ^x* vs x*$
by tilly (Archbishop) on Oct 10, 2004 at 07:00 UTC
    And finally, four years later, I got around to filing it with p5p.
      And seven years to fix. Here's the output from a recent bleadperl...
      [steve@sulu ~]$ /tmp/bleadperl/bin/perl5.10.0 rt_31914.pl Test String >x< Prematch >< Match >x< Postmatch >< Num Matches >1< Match Arrary: >x< ---------- Test String >x< Prematch >x< Match >< Postmatch >< Num Matches >2< Match Arrary: >x< ><
        Isn't the responsiveness of open source great!

        Oh, wait...

        (Though to be honest, it would have happened much faster if anyone had really cared about the bug.)