From 3387f7389bc4e5f1b30e4d648861950acf0b19be Mon Sep 17 00:00:00 2001 From: bison <1308362@gmail.com> Date: Fri, 15 Jul 2016 09:49:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=A8=E9=AA=8C=E8=AF=81=E5=99=A8=E4=B8=AD?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=BA=86=E9=92=88=E5=AF=B9=E4=B8=AD=E6=96=87?= =?UTF-8?q?=E5=AD=97=E7=AC=A6=E6=A3=80=E6=B5=8B=E7=9A=84=E9=AA=8C=E8=AF=81?= =?UTF-8?q?=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/Validate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/think/Validate.php b/library/think/Validate.php index f12e6c4f..552494d0 100644 --- a/library/think/Validate.php +++ b/library/think/Validate.php @@ -534,7 +534,7 @@ class Validate break; case 'chsDash': // 只允许汉字、字母、数字和下划线_及破折号- - $result = $this->regex($value, '/^[\x{4e00}-\x{9fa5}a-zA-Z0-9\_\-]+$/u/'); + $result = $this->regex($value, '/^[\x{4e00}-\x{9fa5}a-zA-Z0-9\_\-]+$/u'); break; case 'activeUrl': // 是否为有效的网址