in reply to Re^2: fast greedy regex
in thread fast greedy regex

I don't see any reason that a more explicit regex would speed it up. The only obvious speed benefit from a more explicit match is that failure could happen sooner.

For speed, I would expect that one call to print, rather than multiple calls to printf, would be something of a speedup.


The PerlMonk tr/// Advocate