Found the hugh bothwell answer
Python - Check If Word Is In A String
quite useful but now i want this to happen
findWholeWord('object')('object test') # -> <match object>
findWholeWord('object')('object-group') # -> None
anybody?