full site update
This commit is contained in:
37
node_modules/regex/dist/cjs/subclass.d.ts
generated
vendored
37
node_modules/regex/dist/cjs/subclass.d.ts
generated
vendored
@@ -1,28 +1,31 @@
|
||||
export const emulationGroupMarker: "$E$";
|
||||
/**
|
||||
Works the same as JavaScript's native `RegExp` constructor in all contexts, but automatically
|
||||
adjusts matches and subpattern indices (with flag `d`) to account for injected emulation groups.
|
||||
adjusts subpattern matches and indices (with flag `d`) to account for captures added as part of
|
||||
emulating extended syntax.
|
||||
*/
|
||||
export class RegExpSubclass extends RegExp {
|
||||
/**
|
||||
@param {string | RegExpSubclass} expression
|
||||
@param {string} [flags]
|
||||
@param {{useEmulationGroups: boolean;}} [options]
|
||||
*/
|
||||
constructor(expression: string | RegExpSubclass, flags?: string, options?: {
|
||||
useEmulationGroups: boolean;
|
||||
@overload
|
||||
@param {string} expression
|
||||
@param {string} [flags]
|
||||
@param {{
|
||||
hiddenCaptures?: Array<number>;
|
||||
}} [options]
|
||||
*/
|
||||
constructor(expression: string, flags?: string, options?: {
|
||||
hiddenCaptures?: Array<number>;
|
||||
});
|
||||
/**
|
||||
@private
|
||||
@type {Array<{
|
||||
exclude: boolean;
|
||||
transfer?: number;
|
||||
}> | undefined}
|
||||
*/
|
||||
private _captureMap;
|
||||
@overload
|
||||
@param {RegExpSubclass} expression
|
||||
@param {string} [flags]
|
||||
*/
|
||||
constructor(expression: RegExpSubclass, flags?: string);
|
||||
/**
|
||||
@private
|
||||
@type {Record<number, string> | undefined}
|
||||
@type {Map<number, {
|
||||
hidden: true;
|
||||
}>}
|
||||
*/
|
||||
private _namesByIndex;
|
||||
private _captureMap;
|
||||
}
|
||||
|
Reference in New Issue
Block a user