Sha256: b6d82ae241f53756366a0fe2687e3cfe7c90f3c83ad71185ae6efc84b964cf03

Contents?: true

Size: 371 Bytes

Versions: 20

Compression:

Stored size: 371 Bytes

Contents

// @@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));
  };
});

Version data entries

20 entries across 18 versions & 7 rubygems

Version Path
ilog-0.4.1 node_modules/core-js/modules/es6.regexp.search.js
ilog-0.4.0 node_modules/core-js/modules/es6.regexp.search.js
ilog-0.3.3 node_modules/core-js/modules/es6.regexp.search.js
locomotivecms-4.0.0.alpha1 app/javascript/node_modules/fbjs/node_modules/core-js/modules/es6.regexp.search.js
locomotivecms-3.4.0 app/javascript/node_modules/fbjs/node_modules/core-js/modules/es6.regexp.search.js
cortex-0.1.3 spec/dummy/node_modules/fbjs/node_modules/core-js/modules/es6.regexp.search.js
lanes-0.8.0 node_modules/core-js/modules/es6.regexp.search.js
xcodebuild-helper-1.2.5 externals/ios-sim-master/node_modules/core-js/modules/es6.regexp.search.js
xcodebuild-helper-1.2.3 externals/ios-sim-master/node_modules/core-js/modules/es6.regexp.search.js
babel-schmooze-sprockets-0.1.3 node_modules/core-js/modules/es6.regexp.search.js
babel-schmooze-sprockets-0.1.2 node_modules/core-js/modules/es6.regexp.search.js
babel-schmooze-sprockets-0.1.1 node_modules/core-js/modules/es6.regexp.search.js
babel-schmooze-sprockets-0.1.0 node_modules/core-js/modules/es6.regexp.search.js
babel-schmooze-sprockets-0.1.0.alpha.3 node_modules/core-js/modules/es6.regexp.search.js
babel-schmooze-sprockets-0.1.0.alpha.2 node_modules/core-js/modules/es6.regexp.search.js
es6_tilt-0.1.2 test/dummy/node_modules/core-js/modules/es6.regexp.search.js
es6_tilt-0.1.2 test/dummy/app/assets/javascripts/node_modules/core-js/modules/es6.regexp.search.js
es6_tilt-0.1.1 test/dummy/node_modules/core-js/modules/es6.regexp.search.js
es6_tilt-0.1.1 test/dummy/app/assets/javascripts/node_modules/core-js/modules/es6.regexp.search.js
es6_tilt-0.1.0 test/dummy/app/assets/javascripts/node_modules/core-js/modules/es6.regexp.search.js