in reply to output differs in perl version

According to my tests, perl 5.12.3 gives the following incorrect output (same as in your post):

It is a is a guide a guide to guide to action to action which action which ensures which ensures that ensures that the that the military the military always military always obey always obey the obey the commands the commands of commands of the of the party.

However, perl 5.14.0 gives the correct output:

It is a t is a is a guide s a guide a guide to guide to action uide to action ide to action de to action e to action to action which o action which action which ensures ction which ensures ...

Does someone have a perl 5.12.4 handy to test whether this bug is still present in the 5.12 branch?

Replies are listed 'Best First'.
Re^2: output differs in perl version
by ikegami (Patriarch) on Jul 05, 2011 at 01:55 UTC
    Installed ActivePerl 5.12.4. It's buggy, emitting the same as 5.12.3.
Re^2: output differs in perl version (\b)
by tye (Sage) on Jul 04, 2011 at 23:19 UTC

    Yeah, the bug is in the Perls after 5.8.8 not in 5.8.8. If the original output is what is desired, then simply add \b near the front of the regex. That should work in versions even that don't have that bug.

    - tye