Simplify error patterns with explicitly numbered groups