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