title: re module has no attribute compile
body: <p>I am trying to use the following command in Python 3:</p>
  
  <pre><code>text = re.compile('attribute')
  </code></pre>
  
  <p>but it tells me that that 're module has no attribute compile'. Has the command been updated in Python 3?</p>