Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mathiasbynens/RegExp.prototype.match
A robust & optimized ES3-compatible polyfill for the `RegExp.prototype.match` method in ECMAScript 6.
https://github.com/mathiasbynens/RegExp.prototype.match
Last synced: 3 months ago
JSON representation
A robust & optimized ES3-compatible polyfill for the `RegExp.prototype.match` method in ECMAScript 6.
- Host: GitHub
- URL: https://github.com/mathiasbynens/RegExp.prototype.match
- Owner: mathiasbynens
- License: mit
- Created: 2014-07-20T12:43:30.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-07-20T12:55:29.000Z (over 10 years ago)
- Last Synced: 2024-07-05T16:09:51.830Z (4 months ago)
- Language: JavaScript
- Homepage: https://mths.be/regexp-prototype-match
- Size: 133 KB
- Stars: 10
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE-MIT.txt
Awesome Lists containing this project
- es6-tools - `RegExp.prototype.match`
README
# ES6 `RegExp.prototype.match` polyfill [![Build status](https://travis-ci.org/mathiasbynens/RegExp.prototype.match.svg?branch=master)](https://travis-ci.org/mathiasbynens/RegExp.prototype.match) [![Code coverage status](http://img.shields.io/coveralls/mathiasbynens/RegExp.prototype.match/master.svg)](https://coveralls.io/r/mathiasbynens/RegExp.prototype.match)
A robust & optimized ES3-compatible polyfill for [the `RegExp.prototype.match` method in ECMAScript 6](http://people.mozilla.org/~jorendorff/es6-draft.html#sec-regexp.prototype.match).
## Installation
In a browser:
```html
```
Via [npm](http://npmjs.org/):
```bash
npm install regexp.prototype.match
```Then, in [Node.js](http://nodejs.org/):
```js
require('regexp.prototype.match');// On Windows and on Mac systems with default settings, case doesn’t matter,
// which allows you to do this instead:
require('RegExp.prototype.match');
```## Author
| [![twitter/mathias](https://gravatar.com/avatar/24e08a9ea84deb17ae121074d0f17125?s=70)](https://twitter.com/mathias "Follow @mathias on Twitter") |
|---|
| [Mathias Bynens](http://mathiasbynens.be/) |## License
This polyfill is available under the [MIT](http://mths.be/mit) license.