Classifying omega-regular partitions