UNPKG

@webilix/helper-library

Version:

JavaScript/TypeScript programming helper library.

19 lines 1.29 kB
export declare const reGet: (pattern: string, fullLine?: boolean, flags?: string) => RegExp; export declare const reVerify: (pattern: string, text: string, flags?: string) => boolean; export declare const reFind: (pattern: string, text: string, flags?: string) => string[]; export declare const reReplace: (pattern: string, text: string, replaceWith?: string, flags?: string) => string; export declare const regexpDate: string; export declare const regexpTime: string; export declare const regexpJsonDate: string; export declare const regexpEmail: string; export declare const regexpMobile: string; export declare const regexpNumeric: (minLength?: number, maxLength?: number) => string; export declare const regexpUsername: (length?: number, useDash?: boolean, useDot?: boolean, startWithChar?: boolean, endWithChar?: boolean) => string; export declare const regexpPassword: (length?: number, forceLowerCase?: boolean, forceUpperCase?: boolean, forceNumber?: boolean) => string; export declare const regexpDomain: string; export declare const regexpUrl: (full?: boolean) => string; export declare const regexpIP4: string; export declare const regexpHexColor: string; export declare const regexpHSLColor: string; export declare const regexpRGBColor: string; //# sourceMappingURL=regex.d.ts.map