Re: [pcre-dev] some questions about memory

Góra strony
Delete this message
Autor: Philip Hazel
Data:  
Dla: Николай Новиков
CC: pcre-dev
Temat: 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