Sha256: 2ff08684a81ab5350af674d35292c8365625ded044ae5c75001cb2dd076f59d1

Contents?: true

Size: 153 Bytes

Versions: 47

Compression:

Stored size: 153 Bytes

Contents

"use strict";

var re = /foo/;

module.exports = function () {
	if (typeof re.search !== "function") return false;
	return re.search("barfoo") === 3;
};

Version data entries

47 entries across 47 versions & 3 rubygems

Version Path
govuk_publishing_components-16.20.0 node_modules/es5-ext/reg-exp/#/search/is-implemented.js
govuk_publishing_components-16.19.0 node_modules/es5-ext/reg-exp/#/search/is-implemented.js
govuk_publishing_components-16.18.0 node_modules/es5-ext/reg-exp/#/search/is-implemented.js
govuk_publishing_components-16.17.0 node_modules/es5-ext/reg-exp/#/search/is-implemented.js
optimacms-0.4.3 spec/dummy/node_modules/es5-ext/reg-exp/#/search/is-implemented.js
optimacms-0.4.2 spec/dummy/node_modules/es5-ext/reg-exp/#/search/is-implemented.js
cortex-0.1.3 spec/dummy/node_modules/es5-ext/reg-exp/#/search/is-implemented.js