Is your intention to create a StringMatcher and hang onto it permanently? The StringMatcher instance will cache the results it has seen. I haven't tested this yet, but I could imagine their being some unexpected behavior from this. You may just want to call `StringMatch.stringMatch`.