Possibly more sensible implementation of build_pattern_record, but I need to pfind out why wrangler thingks I might want a list of patterns sometimes...