http://qs321.pair.com?node_id=1150040


in reply to regex with capture groups and branch reset crashes perl

I tried this on a few versions.

These passed (OS X, MacPorts):

These also passed (CentOS): These failed:

This really seems to be something caused by an older version as others have said. I would recommend updating to a newer version and testing.

  • Comment on Re: regex with capture groups and branch reset crashes perl

Replies are listed 'Best First'.
Re^2: regex with capture groups and branch reset crashes perl
by AnomalousMonk (Archbishop) on Dec 11, 2015 at 18:39 UTC
    • 5.8.8 on CentOS 5 (got confused by '(?|' syntax and threw an error)

    The '(?|' syntax was only introduced with Perl version 5.10.


    Give a man a fish:  <%-{-{-{-<