Skip to content
Compare string matching with regex and ==
Ruby
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.byebug_history
.ruby-version
Gemfile
Gemfile.lock
README.md
run.rb

README.md

$ bundle exec ./run.rb
       user     system      total        real
match_exact  0.680000   0.000000   0.680000 (  0.678415)
match_without_case  0.700000   0.000000   0.700000 (  0.707565)
match_regex_symbol  1.300000   0.000000   1.300000 (  1.297770)
match_regex_with_downcase  1.260000   0.000000   1.260000 (  1.260466)

You can’t perform that action at this time.