Check If Word Is In A String errors
<p>Using the following from <a href="http://stackoverflow.com/questions/5319922/python-check-if-word-is-in-a-string">Python - Check If Word Is In A String</a></p>

<pre><code>&gt;&gt;&gt; def findWholeWord(w):
...     return re.compile(r'\b({0})\b'.format(w), flags=re.IGNORECASE).search
... 
&gt;&gt;&gt; findWholeWord('seek')('those who seek shall find')  
&lt;_sre.SRE_Match object at 0x22c1828&gt;
&gt;&gt;&gt; findWholeWord('seek') 
&lt;built-in method search of _sre.SRE_Pattern object at 0x22b8190&gt;
&gt;&gt;&gt; findWholeWord('seek')('those who seek shall find')  
&lt;_sre.SRE_Match object at 0x22c1828&gt;
&gt;&gt;&gt; findWholeWord('seek')('those who shall find') 
</code></pre>

<p>Is this an error or this should be the result?</p>

<pre><code>&lt;_sre.SRE_Match object at 0x22c1828&gt;
</code></pre>
