in reply to Re^2: Advanced techniques with regex quantifiers
in thread Advanced techniques with regex quantifiers

For me your code fails […] with Perl 5.22. Is this a regression then?

So it would seem. Apparently I need to take a look at the deltas.


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

Replies are listed 'Best First'.
Re^4: Advanced techniques with regex quantifiers
by Athanasius (Archbishop) on Jul 20, 2015 at 04:16 UTC

    Hello AnomalousMonk,

    Your code works fine for me in Perl 5.20.2, but breaks in Perl 5.22.0 with the runtime error reported by smls. perl5220delta has the following in its New Diagnostics section:

    (Note: the (F) here indicates a fatal but trappable error.)

    So it seems that leading zeroes in a quantifier were always meant to be considered an error, but were previously overlooked?

    Hope that helps,

    Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,