use-on-demand
Version:
14 lines • 515 B
TypeScript
export declare class xX_SRegexp_Helper {
/**
* 将传入【new Regexp() 构造函数】的字符串,进行转义
* 0.参考资料:https://stackoverflow.com/a/3561711/6264260
*
*/
static escapeRegex(string: string): string;
/**
* 判断【正则表达式】相等,的方法
* 0.参考资料:https://stackoverflow.com/a/10776682/6264260
*/
static regexSame(r1: RegExp, r2: RegExp): boolean;
}
//# sourceMappingURL=SRegexp_Helper.d.ts.map