add warnings for unterminated groups and unterminated quoted words