mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
CHINESE_NAME中国人姓名,正则放宽限制,否则:生僻字的姓名无法通过
This commit is contained in:
@@ -200,6 +200,7 @@ public interface RegexPool {
|
|||||||
* ----------
|
* ----------
|
||||||
* </pre>
|
* </pre>
|
||||||
* 总结中文姓名:2-60位,只能是中文和维吾尔族的点·
|
* 总结中文姓名:2-60位,只能是中文和维吾尔族的点·
|
||||||
|
* 放宽汉字范围:如生僻姓名 刘欣䶮yǎn
|
||||||
*/
|
*/
|
||||||
String CHINESE_NAME = "^[\u4E00-\u9FFF·]{2,60}$";
|
String CHINESE_NAME = "^[\u2E80-\u9FFF·]{2,60}$";
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user