export declare function matchSubstring(code: string, begin: number, pattern: string): boolean;