init
This commit is contained in:
27
structs/Regex.d.ts
vendored
Normal file
27
structs/Regex.d.ts
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
/**
|
||||
*
|
||||
* @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;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user