/regexp-match-polyfill

Implements Regexp#match?, String#match? and Symbol#match? in Ruby < 2.4.

Primary LanguageRuby

Implements Regexp#match?, String#match? and Symbol#match? in Ruby < 2.4.

Gem Version Build Status

Installing gem

Add to your Gemfile:

gem 'regexp-match-polyfill', '~> 1.0'

Running tests

Install bundler:

gem install bundler

Install dependencies:

cd regexp-match-polyfill && bundle

Run tests:

cd regexp-match-polyfill && bundle exec rake test