title: What's a faster operation, re.match/search or str.find?
body: <p>For one off string searches, is it faster to simply use str.find/rfind than to use re.match/search?</p>
  
  <p>That is, for a given string, s, should I use:</p>
  
  <pre><code>if s.find('lookforme') &gt; -1:
      do something
  </code></pre>
  
  <p>or </p>
  
  <pre><code>if re.match('lookforme',s):
      do something else
  </code></pre>
  
  <p>?</p>