fork download
  1. str = 'one two three four five'
  2. f = 'four'
  3. p str.match /four/
  4. p str.match /#{Regexp.escape f}/
Success #stdin #stdout 0.02s 7416KB
stdin
Standard input is empty
stdout
#<MatchData "four">
#<MatchData "four">