Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

Awesome Lists containing this project

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.