"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"));
/**
* !@DEPRECATED: Use network/replaceUrls instead
*
* Replace all links in text
*
* @param text
* @param regexReplacer
* @category network
* @module replaceLinks
*/
var replaceLinks = function (text, regexReplacer) { return text.replace(urlRegex_1.default.STRICT_GLOBAL, regexReplacer); };
exports.default = replaceLinks;
Source