"use strict"; exports.__esModule = true; function getMatchIndex(text, regex) { var match = text.match(regex); return match ? match.index : -1; } exports.getMatchIndex = getMatchIndex;