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

Top Page
Delete this message
Author: Philip Hazel
Date:  
To: Nuno Lopes
CC: john guo, pcre-dev
Subject: 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