Find match highlights when testing a word against a pattern.
the word to test.
the word to match against.
the list of highlights if present.
Find match highlights when testing a word against a pattern.