Advertisement
saasbook

regexp_two_ways.rb

Jan 10th, 2012
663
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.05 KB | None | 0 0
  1. "Catch 22" =~ /\w+\s+\d+/
  2. /\w+\s+\d+/ =~ "Catch 22"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement