Compare commits

..

No commits in common. "32c22478ae92df7b430265b5c4c9473760e5dcbb" and "06198af1c0ac92f2e9d4cb5b22618e6d96c560ed" have entirely different histories.

3 changed files with 2 additions and 12 deletions

View File

@ -1,7 +1,7 @@
{
"name": "zy-react-library",
"private": false,
"version": "1.0.8",
"version": "1.0.7",
"type": "module",
"description": "",
"author": "LiuJiaNan",

7
regular/index.d.ts vendored
View File

@ -46,9 +46,4 @@ export const STRONG_PASSWORD: RegExp;
/**
* HTML
*/
export const HTML_TAG: RegExp;
/**
*
*/
export const POSTAL_CODE: RegExp;
export const HTML_TAG: RegExp;

View File

@ -54,8 +54,3 @@ export const STRONG_PASSWORD
* 匹配完整的HTML标签包括开始标签和结束标签
*/
export const HTML_TAG = /<[^>]*>/g;
/**
* 匹配中国大陆的邮政编码
*/
export const POSTAL_CODE = /^(0[1-7]|1[0-356]|2[0-7]|3[0-6]|4[0-7]|5[1-7]|6[1-7]|7[0-5]|8[013-6])\d{4}$/g;