Fixed a bug in the pattern for CodeFormatter