I have a question
Write down a regular expression for all binary strings that end with an even (nonzero) number of 0's.
So far I have come up with L = { (0/1)* (00)+ }
But it doesn't seem to work all the time. The (0/1)* can generate 0110 and the (00)+ will add 0110 00 - which doesn't make an ending of even number of 0's.
Can anyone help me with this?
Thanks