[Bug 369737] Re: preg_replace_callback segfaults

2009-08-25 Thread fiasco
>From what I understand this is a PCRE extension issue with recursive regex. This error occured for me when the mediawiki filter was trying to parse a with the following regex: #^\{\|(.*?)(?:^\|\+(.*?))?(^(?:((?R))|.)*?)^\|}#msi -- preg_replace_callback segfaults https://bugs.launchpad

[Bug 369737] Re: preg_replace_callback segfaults

2009-08-24 Thread fiasco
This is happening to me, I found this bug in the PEAR mediawiki filter. the code from there is: wiki->source = preg_replace_callback( $this->regex, array(&$this, 'process'), $this->wiki->source ); error_log("Returning parse"); } ?> Potential