242243244245246247248
* @param pattern * the pattern to be used. * @return The matcher. */ default Matcher<String> matchesRegex(Pattern pattern) { return new StringPatternMatcher(pattern); }