At the risk of being pedantic, the code should read:
$pee = preg_replace('!(<pre.*?>)(.*?)</pre>!ise', " stripslashes('$1') . stripslashes(clean_pre('$2')) . '</pre>' ", $pee);
The second stripslashes was originally stripslahes. Easy typo to make. This works well for me.