Correction to pattern flags