| [reply] [d/l] |
This isn't a bug, it's intended behaviour :-)
Hmm, I see your point but AFAIU (*FAIL) itself doesn't add to regexp complexity and could be exempted from caching to allow (${ eval })(*FAIL) pattern to work as the doc itself suggests in other place. Still, my bug report landed next to others that are 4 years old, and given your comment I see where it will go...
So, is there a way in Perl to find all regexp matches?
| [reply] |
(*FAIL) itself doesn't add to regexp complexity and could be exempted from caching
Well it could (if at the top-level of a pattern), but that doesn't solve the issue - there are other regex optimisations (currrent or future) apart from the superlinear cache, any of which could potentially cause a match to "prematurely" fail.
So, is there a way in Perl to find all regexp matches?
I don't know, but I doubt it could be done reliably,
Dave.
| [reply] |