Update pattern matching in format/4