@forklaunch/universal-sdk
Version:
Cross runtime fetch library for forklaunch router sdks
9 lines • 466 B
TypeScript
/**
* Generates a string from a given regular expression or string representation of a regex.
*
* @param {RegExp | string} regex - The regular expression or string representation of a regex.
* @returns {string} - The generated string based on the regex pattern.
* @throws {Error} - Throws an error if there are unmatched brackets or groups.
*/
export declare function generateStringFromRegex(regex: RegExp | string): string;
//# sourceMappingURL=regex.d.ts.map