title: How to extract text between quotes with regex in ruby
body: <p>I have the following string and I want to extract the text between single quotes.</p>
  
  <pre><code>javascriptfunction('marie d\'avignon','-','','3')
  </code></pre>
  
  <p>The problem for me is the escaped single quote (there might be multiple occurrences of escaped characters), so the match should be </p>
  
  <pre><code>marie d\'avignon
  -
  3
  </code></pre>
  
  <p>Help is appreciated</p>