in reply to phrase match
You could match the target string with a space appended for your words with a space appended, or you could use the \b word boundary marker (see perlre) if your "words" fit that description.