Which regular expressions belong to R where R=ab*cb*R=ab*+cb*?
Which regular expressions belong to R where R=ab*cb*R=ab*+cb*?
Explanation
Now let's evaluate the options:
(A) ab: This string matches (since allows for one 'b'). So, this belongs to
(B) abb: This string also matches (since allows for two 'b's). So, this belongs to .
(C) cb: This string matches (since allows for one 'b'). So, this belongs to .
(D) All of these: Since all the previous options (A, B, C) belong to , this is correct.