I am having hard time creating regex for languages where symbols must be in certain length. I hope I am not ignorant about rules. we have to generate regex using $^*,|,+ \text{ and }\cdot$ right?
I am expected to generate a regex for the language $\{ L = \{ w ∈ \{0,1\}^∗ : |w|_0 and |w|_1 \text{ is odd } \}$. both 0s and 1s have must have odd length.
I was able to generate it for the same language but with even length, but can't find a pattern for this.