Match single quotes from python re
<p>How to match the following i want all the names with in the single quotes</p>

<pre><code>This hasn't been much that much of a twist and turn's to 'Tom','Harry' and u know who..yes its 'rock'
</code></pre>

<p>How to extract the name within the single quotes only</p>

<pre><code>name = re.compile(r'^\'+\w+\'')
</code></pre>
