From: ts Date: 2004-04-12T21:52:10+09:00 Subject: Re: Ruby 1.8.1. RegExp documentation? >>>>> "V" == Viktor Zacek writes: V> There is a sample program, that runs fine under ruby 1.6.7, but fails V> with the first example (doesn'nt mark anything). Change str.gsub! re, "#{st}\\&#{en}" by str.gsub!(/#{re}/, "#{st}\\&#{en}") Guy Decoux