The documentation doesn’t specify if the user have to delete the returned TObjArray * by TPRegexp::MatchS, from the code I would say yes.
Hi,
we’ve added a comment in the code that the returned TObjArray should be deleted by the user.
Cheers, Fons.