@genexus/web-standard-functions
Version:
GeneXus JavaScript standard functions library for web generators
14 lines • 360 B
JavaScript
;
/**
* Return matches against regexp
* @param {string} target
* @param {string} regExp
* @return Array
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.matches = void 0;
const matches = (target, rex) => {
return new RegExp(rex).exec(target) || [];
};
exports.matches = matches;
//# sourceMappingURL=matches.js.map