Re: [pcre-dev] some questions about memory

Top Page
Delete this message
Author: Philip Hazel
Date:  
To: Николай Новиков
CC: pcre-dev
Subject: Re: [pcre-dev] some questions about memory
On Sun, 7 Aug 2011, Николай Новиков wrote:

> Hello.
> I have some questions about buffer.
> How many memory should i allocate for pcre_exec
> ?
> Details are on the link.
>
> http://pastebin.com/b8kE9q2q


The section entitled "How pcre_exec() returns captured substrings"
in the pcreapi man page explains in detail exactly how the ovector
buffer supplied to pcre_exec() is used.

--
Philip Hazel