mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-04-19 03:01:48 +08:00
!599 CHINESE_NAME正则条件放宽: 不然生僻字无法通过
Merge pull request !599 from dazer007/v5-dev
This commit is contained in:
commit
e3bbaf0b3b
@ -200,6 +200,7 @@ public interface RegexPool {
|
||||
* ----------
|
||||
* </pre>
|
||||
* 总结中文姓名: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