[Nagiosplug-devel] thoughts on regexp using plugins
Andreas Ericsson
ae at op5.se
Thu Mar 23 06:49:06 CET 2006
John P. Rouillard wrote:
> In message <20060323093804.GA22619 at seanius.net>,
> sean finney writes:
>
>>currently we have a couple plugins that make conditional use
>>of posix regexp functionality if it is available. i'm wondering,
>>since some systems do not come with regexp functionality, why
>>don't we include some version of the GNU regexp library in
>>our codebase, and if configure fails to find a native version
>>use that instead?
>
>
> Sound's reasonable to include a regexp library, but given that so many
> plugins are in perl, would it make sense to use PCRE as the regexp
> library?
>
That would have made sense had it been done from the start, but Perl
regexes differ too much from Posix ones for current check-commands to
keep on working. Especially since perl has no notion of a non-extended
regex.
--
Andreas Ericsson andreas.ericsson at op5.se
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231
More information about the Devel
mailing list