private static String patternToString(@Nullable final Pattern pattern) {
		return pattern != null ? pattern.pattern() + " (flags: " + pattern.flags() + ")" : NO_PATTERN_PLACEHOLDER;
	}
private static String patternToString ( @ Nullable final Pattern pattern ) { return pattern != null ? pattern . pattern ( ) + " (flags: " + pattern . flags ( ) + ")" : NO_PATTERN_PLACEHOLDER ; }
Converts a {@link Pattern} to a string representation.

@param pattern
Pattern
@return string representation of a pattern