CMarkdown compilation failed

I wanted to use CMarkdown. But I get the following Exception message:

preg_replace_callback(): Compilation failed: POSIX collating elements are not supported at offset 131

I read something about a problem with newer php versions. Not sure if this is correct.

I tried the following variants:




$this->beginWidget('CMarkdown', array('purifyOutput'=>true));

echo $content;

$this->endWidget();






$markdown = new CMarkdown;

$markdown->purifyOutput = true;

echo $Markdown->transform($content);



Does the $content need the have certain initialising characters?

Strange, it works on another system with a similar php version (5.3.8.x <=> 5.3.8.y).

I guess it is a problem in PCRE 8.13 (delivered with OpenSuSE 12.1). No idea how to workaround that problem.