I'm getting this warning after saving an edit, when the system prompts me for the captcha. This seems to occur whether I'm using the default SimpleMath, or ReCAPTCHA. It still works fine, but this warning appears at the top of the screen every time:
Warning: preg_match() [function.preg-match]: Unknown modifier 'd' in /home/[snip]/includes/EditPage.php on line 634
Lines 632-639:
# Check for spam $matches = array(); if ( $wgSpamRegex && preg_match( $wgSpamRegex, $this->textbox1, $matches ) ) { $this->spamPage ( $matches[0] ); wfProfileOut( "$fname-checks" ); wfProfileOut( $fname ); return false; }