title: How to escape single quote in a string using .match method in ruby
body: <p>My code is this: </p>
  
  <pre><code>description = contents.match(/===========(.*?)What's New in this Version/m)[1].strip
  </code></pre>
  
  <p>The code runs fine but now everything after the single quote is in blue and I need a single quote to end it. But where would I put it or how would I escape it? I tried putting a backslash before the single quote but that doesn't change anything. </p>