Add new patterns to determine the format of a record