prevent matching key words embedded in other words 

prevent matching key words embedded in other words like 'end' in 'friend'