Add to your Gemfile:
gem 'regexp-match-polyfill', '~> 1.0'
Install bundler:
gem install bundler
Install dependencies:
cd regexp-match-polyfill && bundle
Run tests:
cd regexp-match-polyfill && bundle exec rake test
Implements Regexp#match?, String#match? and Symbol#match? in Ruby < 2.4.
Ruby
Add to your Gemfile:
gem 'regexp-match-polyfill', '~> 1.0'
Install bundler:
gem install bundler
Install dependencies:
cd regexp-match-polyfill && bundle
Run tests:
cd regexp-match-polyfill && bundle exec rake test