Re: [pcre-dev] regarding use regcomp/regexec on multiple str…

Página Principal
Apagar esta mensagem
Autor: Philip Hazel
Data:  
Para: Nuno Lopes
CC: john guo, pcre-dev
Assunto: Re: [pcre-dev] regarding use regcomp/regexec on multiple strings
On Sat, 26 Apr 2008, Nuno Lopes wrote:

> nop. regcomp() only changes the regex_t structure that it receives. Make
> sure you are really using PCRE (use ldd and check if you are linking against
> PCRE).


And note that PCRE's native API has many more facilities than the POSIX
wrapper functions. If you use the native API, you can be sure you are
using PCRE and not some other regex library that provides different
implementations of regcomp() etc.

Philip

--
Philip Hazel