"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var urlRegex_1 = __importDefault(require("../_common/urlRegex"));
/**
* Replace all links in text
*
* @param text
* @param regexReplacer
* @category network
* @module replaceUrls
*/
var replaceUrls = function (text, regexReplacer) { return text.replace(urlRegex_1.default.STRICT_GLOBAL, regexReplacer); };
exports.default = replaceUrls;
Source