Package Exports
- regexp.prototype.search
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (regexp.prototype.search) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
ES6 RegExp.prototype.search polyfill

An robust & optimized ES3-compatible polyfill for the RegExp.prototype.search method in ECMAScript 6.
Installation
In a browser:
<script src="regex-prototype-search.js"></script>Via npm:
npm install regexp.prototype.searchThen, in Node.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');Author
| Mathias Bynens |
License
This polyfill is available under the MIT license.