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