Re: [pcre-dev] some questions about memory

Inizio della pagina
Delete this message
Autore: Philip Hazel
Data:  
To: Николай Новиков
CC: pcre-dev
Oggetto: 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