title: Match any word in string except those preceded by a curly brace in python
body: <p>I have a string like</p>
  
  <pre><code>line = u'I need to match the whole line except for {thisword for example'
  </code></pre>
  
  <p>I have a difficulty doing this. What I've tried and it doesn't work:</p>
  
  <pre><code># in general case there will be Unicode characters in the pattern
  matchobj = re.search(ur'[^\{].+', line) 
  
  matchobj = re.search(ur'(?!\{).+', line)
  </code></pre>
  
  <p>Could you please help me figure out what's wrong and how to do it right?</p>
  
  <p>P.S. I don't think I need to substitute <code>"{thisword"</code> with empty string</p>