PHP Code:
$this->post['message'] = preg_replace("/((\<a[^\>]*?\>.*?\<\/a\>|\<code[^\>]*?\>.*?\<\/code\>|\<pre[^\>]*?\>.*?\<\/pre\>)|(?<!\.)\b" . preg_quote($post_explode_rple[0], '/') . "(?!\-|\:|\;)\b)/sie", '"\\2"=="\\1"? "\\1":" $post_explode_rple[1]"', $this->post['message']);
This line has a huge code error that I couldn't figure out (yet), but it causes the problem again (tansu mentioned above) (
http://www.doctus.net/showpost.php?p=84884&postcount=4). What could it be?
The problem: When the word to be replaced is used in a link, the mod adds lots of backslashed. Check out the link:
http://www.doctus.net/showpost.php?p=84884&postcount=4
"Windows'tan Ubuntu'ya kesin ge?iş" is wrapped with the [.url] bbcode. The word Ubuntu is in the replacements list. The apostrophe causes the problem.