title: Is it worth using Python's re.compile?
body: <p>Is there any benefit in using compile for regular expressions in Python?</p>
  
  <pre><code>h = re.compile('hello')
  h.match('hello world')
  </code></pre>
  
  <p>vs</p>
  
  <pre><code>re.match('hello', 'hello world')
  </code></pre>