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

Αρχική Σελίδα
Delete this message
Συντάκτης: Philip Hazel
Ημερομηνία:  
Προς: Nuno Lopes
Υ/ο: john guo, pcre-dev
Αντικείμενο: 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