Files
types-ts-2take1/structs/Regex.d.ts
2021-06-27 20:27:03 -05:00

28 lines
377 B
TypeScript

/**
*
* @public
*/
declare class Regex {
/**
* only for testing,
*
* @param type "debug"
*
* @example
*
* new Feat("debug")
*
*/
constructor(type: "debug");
readonly pattern: string;
constructor(pattern: string);
public search(subject: string): RegexResult;
public __tostring(): string;
}