I would personally consider a "warning" as an error even if it is the first one.
in reply to Re^3: Limiting number of regex matches
in thread Limiting number of regex matches
I don't see any really significant disagreement here. I ran your code and it it works. And you ran my code and it works.
Ok, there are different assumptions as to data set size, etc. But at the end of the day, the OP got two great ideas and he/she can try them both and see what happens in the particular application.
I claim mutual success! We both did a good job.