FunctionpatternOf

  • Parameters

    • map: Record<string, string>

      Key for RegExp source, value for replacement

    Returns Record<string, RegExp>

    Key for replacement, value for RegExp