title: Word boundary not working despite raw string
body: <p>I have a list of strings and I am trying to run a regex search on it.</p>
  
  <p>I use:</p>
  
  <pre><code>re.search(r"\b" + word + r"\b", list[item], re.I)
  </code></pre>
  
  <p>Yet, the result of the search doesn't take into account the word boundaries and still returns wrong results. 
  Example:</p>
  
  <p>when word is <code>try</code> and i run the test, it still returns True for <code>trying</code> or <code>country</code>.</p>
  
  <p>What am I doing wrong?</p>