title: Python: pattern matching for a string
body: <p>Im trying to check a file line by line for any_string=any_string. It must be that format, no spaces or anything else. The line must contain a string then a "=" and then another string and nothing else. Could someone help me with the syntax in python to find this please? =]</p>
  
  <pre><code>pattern='*\S\=\S*'
  </code></pre>
  
  <p>I have this, but im pretty sure its wrong haha.</p>