Skip to content

Commit

Permalink
Merge pull request #8 from mattclegg/master
Browse files Browse the repository at this point in the history
Added Ö for leetspeak
  • Loading branch information
snipe committed Jun 9, 2014
2 parents 039d7ce + f244df5 commit 3d75e5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions censor.function.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function censorString($string, $badwords, $censorChar = '*') {
$leet_replace['l']= '(l|1\.|l\-|!|\||\]\[|]|£|∫|Ì|Í|Î|Ï)';
$leet_replace['m']= '(m|m\.|m\-)';
$leet_replace['n']= '(n|n\.|n\-|η|Ν|Π)';
$leet_replace['o']= '(o|o\.|o\-|0|Ο|ο|Φ|¤|°|ø)';
$leet_replace['o']= '(o|o\.|o\-|0|Ο|ο|Φ|¤|°|ø)';
$leet_replace['p']= '(p|p\.|p\-|ρ|Ρ|¶|þ)';
$leet_replace['q']= '(q|q\.|q\-)';
$leet_replace['r']= '(r|r\.|r\-|®)';
Expand Down Expand Up @@ -83,4 +83,4 @@ function censorString($string, $badwords, $censorChar = '*') {

return $newstring;

}
}

0 comments on commit 3d75e5e

Please sign in to comment.