淡泊以明志 宁静以致远
2011-10-02 , PHP Tags: php, 正则表达式
function isNickname($str){ return preg_match(“/^[\x{4e00}-\x{9fa5}A-Za-z0-9_]+$/u”,$str); }