title: How to replace backslash with double backslash?
body: <p>I'm trying to replace backslashes in my string with two backslashes like so:</p>
  
  <pre><code>str.gsub!("\\", "\\\\")
  </code></pre>
  
  <p>But, it doesn't do anything. I'm confused...</p>