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