Implements Regexp#match?, String#match? and Symbol#match? in Ruby < 2.4.
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