<reponame>Silveeny/TwitterSocial-Battle<filename>frontend/node_modules/create-react-class/node_modules/core-js/modules/es6.regexp.match.js<gh_stars>0// @@match logic
require('./$.fix-re-wks')('match', 1, function(defined, MATCH){
  // 172.16.31.10 String.prototype.match(regexp)
  return function match(regexp){
    'use strict';
    var O  = defined(this)
      , fn = regexp == undefined ? undefined : regexp[MATCH];
    return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[MATCH](String(O));
  };
});