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

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,

  • Comment on Re^4: Advanced techniques with regex quantifiers