Hello all,
I am really stuck with these 2 question for over 2 days now. trying to figure out what the question means.... my tutor is out of town too....
write a regular expression for the only strings that are not generated over {a,b} by the expression: (a+b)*a(a+b)*. explain your reasoning.
and i tried the second question, do you think is there any better answer than this one?
what is regular expression of set of string that contain an odd number of a's or exactly two b's................(a((a|b)(a|b))*|bb).... coz i know to represent any odd length of a's, the RE is a((a|b)(a|b))*