reykit 1.0.51 → 1.0.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/re.d.ts +5 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -27636,7 +27636,7 @@ async function CE(Z, {
|
|
|
27636
27636
|
const HE = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
27637
27637
|
__proto__: null,
|
|
27638
27638
|
request: CE
|
|
27639
|
-
}, Symbol.toStringTag, { value: "Module" })), BE =
|
|
27639
|
+
}, Symbol.toStringTag, { value: "Module" })), BE = /^((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)$/, NE = /^https?:\/\/[^\s/$.?#].[^\s]*$/, xE = /^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}$/, qE = /^1[3-9]\d{9}$/, YE = /^[\u4e00-\u9fa5]+$/, jE = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
27640
27640
|
__proto__: null,
|
|
27641
27641
|
PATTERN_CN: YE,
|
|
27642
27642
|
PATTERN_EMAIL: xE,
|
package/dist/re.d.ts
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* @Contact : reyxbo@163.com
|
|
5
5
|
* @Explain : Regular expression methods.
|
|
6
6
|
*/
|
|
7
|
-
export declare const PATTERN_IP
|
|
8
|
-
export declare const PATTERN_URL
|
|
9
|
-
export declare const PATTERN_EMAIL
|
|
10
|
-
export declare const PATTERN_PHONE
|
|
11
|
-
export declare const PATTERN_CN
|
|
7
|
+
export declare const PATTERN_IP: RegExp;
|
|
8
|
+
export declare const PATTERN_URL: RegExp;
|
|
9
|
+
export declare const PATTERN_EMAIL: RegExp;
|
|
10
|
+
export declare const PATTERN_PHONE: RegExp;
|
|
11
|
+
export declare const PATTERN_CN: RegExp;
|