Re: [pcre-dev] some questions about memory

Etusivu
Poista viesti
Lähettäjä: Philip Hazel
Päiväys:  
Vastaanottaja: Николай Новиков
Kopio: pcre-dev
Aihe: 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