in reply to Re^2: REGEXP: only need last matching string
in thread REGEXP: only need last matching 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.
|
|---|