When trying to link to a wikipedia article for Ke$ha (don't ask), I get this error. I assume the regex which matches wikipedia links doesn't escape the $ symbol:
Parse error: syntax error, unexpected '/', expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/buro9/public_html/londonfgss.com/public/includes/ame_bbcode.php(323) : regexp code on line 1
Fatal error: preg_replace() [function.preg-replace]: Failed evaluating code: ame_match("Ke$ha", "en", 0, "", "", $ameinfo) in /home/buro9/public_html/londonfgss.com/public/includes/ame_bbcode.php on line 323
When trying to link to a wikipedia article for Ke$ha (don't ask), I get this error. I assume the regex which matches wikipedia links doesn't escape the $ symbol: