Find in inc/class_parser.php
if(version_compare(PHP_VERSION, "5.1.0", ">="))
{
$message = preg_replace("#(?<=[^&;\"])".preg_quote($find,"#")."(?=.\W|\"|\W.|\W$)#si", $replace, $message, $remaining, $replacements);
$remaining -= $replacements;
if($remaining <= 0)
{
break; // Reached the limit
}
}
else
{
$message = preg_replace("#(?<=[^&;\"])".preg_quote($find,"#")."(?=.\W|\"|\W.|\W$)#si", $replace, $message, $remaining);
}
and replace with
$find = preg_quote($find, "#");
// Fix issues for smileys starting with a ";"
if($find{0} == ";")
{
$find = "(?<!>|<|&)".$find;
}
if(version_compare(PHP_VERSION, "5.1.0", ">="))
{
$message = preg_replace("#(?<=[^\"])".$find."(?=.\W|\"|\W.|\W$)#si", $replace, $message, $remaining, $replacements);
$remaining -= $replacements;
if($remaining <= 0)
{
break; // Reached the limit
}
}
else
{
$message = preg_replace("#(?<=[^\"])".$find."(?=.\W|\"|\W.|\W$)#si", $replace, $message, $remaining);
}