• Type Parameters

    • T

    Parameters

    • text: string
    • regex: RegExp
    • replacer: ((params: {
          groups: string[];
          index: number;
          keyPrefix: string;
          match: string;
          matchIndex: undefined | number;
      }) => T)
        • (params: {
              groups: string[];
              index: number;
              keyPrefix: string;
              match: string;
              matchIndex: undefined | number;
          }): T
        • Parameters

          • params: {
                groups: string[];
                index: number;
                keyPrefix: string;
                match: string;
                matchIndex: undefined | number;
            }
            • groups: string[]
            • index: number
            • keyPrefix: string
            • match: string
            • matchIndex: undefined | number

          Returns T

    • keyPrefix: string

    Returns (string | T)[]

Generated using TypeDoc