The regexp engines in Perl and Pike are derived from the same original source that Henry Spencer wrote back in -86. So given that PCRE should be Perl compatible, there's a good chance that they are compatible.
/ Martin Stjernholm, Roxen IS
Previous text:
2003-01-29 17:30: Subject: Re: Real-life PCRE vs Regexp benchmarking
On Wed, Jan 29, 2003 at 05:15:02PM +0100, Martin Nilsson (Åskblod) @ Pike (-) developers forum wrote:
Excellent! Now, what are the problems if we simply replaced the current regexp engine with PCRE? What problems do we face in the Pike API?
Actually, it should not be a problem - but I didn't studied Pike's Regexp syntax deeply so it _might_ be that some incomatibility issues will arise.
At least, a lot of features in PCRE are not present in Regexp - so one cannot use PCRE and then easily switch to Regexp.
I don't know about module from PExts, but my own API was modelled after Regexp API (only one exception which currently makes it incompatile - split() retuns the complete match as element 0, first subpattern - element 1 etc, this could be easily fixed though).
Regards, /Al
/ Brevbäraren