Fix a false negartive for `Performance/RegexpMatch` by koic · Pull Request #47 · rubocop/rubocop-performance

Follow up rubocop/rubocop#6965. This PR fixes a false negartive for Performance/RegexpMatch when using RuboCop 0.68 or higher. # example.rb def foo if /re/.match(foo, 1) do_something end en...