mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
CHINESE_NAME中国人姓名,正则放宽限制,否则:生僻字的姓名无法通过
This commit is contained in:
parent
7380d5ce91
commit
126b1c76b6
@ -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}$";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user