Class PatternFormatting