Skip to content

mathiasbynens/RegExp.prototype.match

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

ES6 RegExp.prototype.match polyfill Build status Code coverage status

A robust & optimized ES3-compatible polyfill for the RegExp.prototype.match method in ECMAScript 6.

Installation

In a browser:

<script src="regex-prototype-match.js"></script>

Via npm:

npm install regexp.prototype.match

Then, in Node.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
Mathias Bynens

License

This polyfill is available under the MIT license.

About

A robust & optimized ES3-compatible polyfill for the `RegExp.prototype.match` method in ECMAScript 6.

Resources

License

Stars

Watchers

Forks

Packages

No packages published