用了这样一个匹配汉字的正则preg_match("/^[\u4e00-\u9fa5]+$/", $val);但是,提示错误为
Warning: preg_match() [function.preg-match]: Compilation failed: PCRE does not support \L, \l, \N, \U, or \u at offset 3这是怎么回事另外之前还找到一个匹配汉字的正则$matchchinese = preg_match("/^[\x80-\xff]+$/", $val);不知道这两个有什么不同