UNPKG

@genexus/web-standard-functions

Version:

GeneXus JavaScript standard functions library for web generators

10 lines 237 B
/** * Return matches against regexp * @param {string} target * @param {string} regExp * @return Array */ export const matches = (target, rex) => { return new RegExp(rex).exec(target) || []; }; //# sourceMappingURL=matches.js.map