WholeWordsOnly

ITextHighlightingOptions.WholeWordsOnly property

设置为真以仅匹配整个单词,否则为假。 读/写Boolean。

public bool WholeWordsOnly { get; set; }

也可以看看