validate that shard spaces have a non-empty regex