UNPKG

tell-me-when

Version:
26 lines 724 B
export declare class ParseState { input: string; index: number; readonly start: number; readonly end: number; readonly flags: string; constructor(input: string, { start, end, flags, }?: { /** * The starting index (defaults to 0) */ start?: number; /** * The ending index (defaults to input.length) */ end?: number; /** * Flags to add to all regexes */ flags?: string; }); get done(): boolean; testLowerCase(pattern: string): boolean; testRegex(pattern: RegExp): boolean; } export declare function toRegExp(s: string, flags?: string): RegExp; //# sourceMappingURL=ParseState.d.ts.map