yuku@
yuku
: 2008-04-12 04:40:33 UTC+0000
Mencari バカ (baka) di Google Code Search.
Hoho, aneh2 aja ^^
===
@word = ('ばか','あほ','バカ','アホ','アダルト','エロ','まぬけ','死ね','殺す');
$text = "$rqpairs{'title'}<>$rqpairs{'key'}\n";
$match=0;
foreach(@word){
if (index($text,$_) >= 0){$match=1; last;}
}
if($match){ &kinsi; }
===
if(empty($_POST['page']))
$errors .= "<li>".dictQuery('empty_message', "You need to type something in first, バカ")."</li>";
===
public class BakaDetectingReader extends BufferedReader {
///
public String readLine() throws IOException, BakaDetectedException {
String l = super.readLine();
if (l == null) return l;
if (l.indexOf("馬鹿") > -1) throw new BakaDetectedException("> " + l);
if (l.indexOf("バカ") > -1) throw new BakaDetectedException("> " + l);
return l;
}
///
}