UNPKG

@explores/reg

Version:

正则库

6 lines (5 loc) 120 B
/** * 最多有N位小数的正则 * @param num */ export declare const RetainDecimal: (num: number) => RegExp;