UNPKG

regexp-cjk

Version:

Generate JavaScript-compatible regular expressions with chinese/jp/zh/cn

14 lines (13 loc) 382 B
import { IGetSettingOptions } from './mergeOptions'; export declare function parseRegularExpressionString(str: string): { source: string; flags: string; slash: string; input: string; }; export declare function getRegExpSourcePattern(opts: IGetSettingOptions): { source: string; flags: string; hasFlags: boolean; }; export default getRegExpSourcePattern;