Viewing File: /home/ubuntu/route-and-root-frontend-base/node_modules/es-abstract/helpers/regexTester.js

'use strict';

var callBound = require('call-bind/callBound');

var $exec = callBound('RegExp.prototype.exec');

module.exports = function regexTester(regex) {
	return function test(s) { return $exec(regex, s) !== null; };
};
Back to Directory File Manager