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

Etusivu
Poista viesti
Lähettäjä: Philip Hazel
Päiväys:  
Vastaanottaja: Nuno Lopes
Kopio: john guo, pcre-dev
Aihe: 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