ZF-9683: Zend_Markup BBCode parsing giving an E_Warning on PREG-compilation
Description
When running the following code
$oBbParser = Zend_Markup::factory('Bbcode');
$aReaction['reactieContent'] = $oBbParser->render('aReaction');
I get an E_WARNING with the following message: E_WARNING : preg_match() [function.preg-match]: Compilation failed: unrecognized character after (?< at offset 5
It occurs in the parser code on line 218: Zend/Markup/Parser/Bbcode.php
Comments
Posted by Pieter Kokx (kokx) on 2010-04-15T05:37:25.000+0000
I cannot reproduce this without more information.
I want to know some more things so I can try to reproduce this. - Operating System - PHP version - PCRE version - Did you compile PHP (and/or PCRE) by yourself?