PHP WebShell

Текущая директория: /usr/lib/node_modules/bitgo/node_modules/core-js/modules

Просмотр файла: es6.regexp.search.js

// @@search logic
require('./$.fix-re-wks')('search', 1, function(defined, SEARCH){
  // 21.1.3.15 String.prototype.search(regexp)
  return function search(regexp){
    'use strict';
    var O  = defined(this)
      , fn = regexp == undefined ? undefined : regexp[SEARCH];
    return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[SEARCH](String(O));
  };
});

Выполнить команду


Для локальной разработки. Не используйте в интернете!