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 bundlerInstall dependencies:
cd regexp-match-polyfill && bundleRun tests:
cd regexp-match-polyfill && bundle exec rake test