@Override
    public boolean test(String text) {
        if (text == null || text.isEmpty() || words.isEmpty()) {
            return false;
        }

        String haystack = searchCache.computeIfAbsent(text, WordBoundaryMatcher::splitWords);
        for (String needle : words) {
            if (testWordMatch(needle, haystack)) {
                return true;
            }
        }

        return false;
    }
Add a word boundary search terms to the matcher.

@param terms Words separated by a single space.
smithy-linters/src/main/java/software/amazon/smithy/linters/WordBoundaryMatcher.java