regexp-helper-core
API
index.d.ts
export declare const REGEXP_TO_STRING_TAG: string;
export declare function toHex(n: number, toUpperCase?: boolean): string;
export declare function toUnicode(charCode: number | string, noMerge?: boolean, wrap?: boolean): string;
export declare function _toUnicode(charCode: number, wrap?: boolean): string;
export declare function isDoubleUnicode(str: string): boolean;
export declare function isRegExp<T extends RegExp>(r: T): T & RegExp;
export declare function isRegExp(r: RegExp): r is RegExp;
export declare function isRegExp(r: any): RegExp | null;
export declare function surrogatePair(codepoint: number): [number, number] & {
h: number;
l: number;
};
export declare function unicodeUnEscape(string: string, noLeadingSolidus?: boolean): string;
export declare function unicodeEscape(string: string, noLeadingSolidus?: boolean, noMerge?: boolean, noWrap?: boolean, filter?: RegExp): string;
import * as self from './index';
declare const _default: Readonly<typeof self>;
export default _default;