function getStringMatcher() {
        if (!matcher) {
            matcher = new StringMatch.StringMatcher({
                preferPrefixMatches: true
            });
        }

        return matcher;
    }
Create a new StringMatcher instance, if needed.

@return {StringMatcher} - a StringMatcher instance.