The 'name' should probably be quoted and have a word boundary on the end to protect catching both 'bob' and 'bobby' when looking for 'bob'.