https://www.regular-expressions.info/unicode.html
$rules = ['username' => 'required|regex:/\p{Han}/u', ]
https://www.regular-expressions.info/unicode.html
$rules = ['username' => 'required|regex:/\p{Han}/u', ]
本文标题:laravel 关于验证汉字的问题
本文链接:https://www.haomeiwen.com/subject/jzridctx.html
网友评论