Also followup question is the set of all binary strings that are of even length with at least two zeros.
But for both questions I'm thinking of building my regular expression with casework, no zeroes, 1 zero, and two zeroes.
For no zeros I have: $(11)^*$
For one zero there just seems to be too many edge cases to also keep the string of even length. You have to consider the zero being at the start or somewhere in the middle or at the end. All while having the expression match any number of odd 1s.
I'm confused how to do this and looking for any insights on how to do this problem and the follow up. Thanks
(00|01|10). $\endgroup$(..)*(.0|0.)(..)*works, where.matches any single symbol. $\endgroup$