Reformat list of patterns so it looks nice