Re: [pcre-dev] some questions about memory

Kezdőlap
Üzenet törlése
Szerző: Philip Hazel
Dátum:  
Címzett: Николай Новиков
CC: pcre-dev
Tárgy: 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