Support indentation for braces

This change to the regexp might yield false positives. Please review carefully.