Interface RegexReplacement

interface RegexReplacement {
    match: string | RegExp;
    replace: string | ((substring: string, ...args: unknown[]) => string);
}

Properties

Properties

match: string | RegExp
replace: string | ((substring: string, ...args: unknown[]) => string)