Match path items on whole words.