in reply to Re^2: Calculate prime factors for a given numer in a perl one-liner
in thread Calculate prime factors for a given numer in a perl one-liner

I didn't investigate it thoroughly, but I think it's not the non-greediness. Rather the + in the regex is compiled to {1,32767}, which is a general limit of the 16 bit heritage of the regex engine.