From: Fabian Streitel Date: 2009-09-07T17:36:29+09:00 Subject: '\\\\\\\\' madness? --001636c5bf0cc016470472f8ba2a Content-Type: text/plain; charset=ISO-8859-1 hi, trying to solve someones mailinglist posted problem, I just created my own. Why do 2 backslashes produce the same result as 4 and 6 the same as 8? 014:0> 'ab'.gsub('a', '\\') => "\\b" 015:0> 'ab'.gsub('a', '\\\\') => "\\b" 016:0> 'ab'.gsub('a', '\\\\\\') => "\\\\b" 017:0> 'ab'.gsub('a', '\\\\\\\\') => "\\\\b" 018:0> RUBY_DESCRIPTION => "ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-linux]" Doesn't that strike anyone as odd? Greetz! --001636c5bf0cc016470472f8ba2a--