A robust & optimized `RegExp.prototype.search` polyfill, based on the ECMAScript 6 specification.
npm install regexp.prototype.searchRegExp.prototype.search polyfill  An robust & optimized ES3-compatible polyfill for the RegExp.prototype.search method in ECMAScript 6.
In a browser:
``html`
Via npm:
`bash`
npm install regexp.prototype.search
Then, in Node.js:
`js
require('regexp.prototype.search');
// On Windows and on Mac systems with default settings, case doesn’t matter,
// which allows you to do this instead:
require('RegExp.prototype.search');
``
|  |
|---|
| Mathias Bynens |
This polyfill is available under the MIT license.