in reply to Re^2: REGEXP: only need last matching string
in thread REGEXP: only need last matching string

well, you are benchmarking a corner case, that's when the last abc \d+ is at the end of the string.

When I said that I didn't know about its performance I was thinking on some not so convenient case, for instance, if the matching substr is near the beginning, in that case perl regexp engine is going to backtrack a lot and maybe looping with the OP regexp and discarding all but the last match could perform better.