public void addSearch(String terms) {
        if (StringUtils.isEmpty(terms)) {
            throw new IllegalArgumentException("Invalid empty search terms");
        }
        String wordPattern = parseWordPattern(terms);
        words.add(wordPattern);
        words.add(wordPattern.replace(" ", ""));
    }
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