Have a question from an online course I am trying to take for a certificate. Came across a few questions like this and need help working through the problem and the rationale to get the solution. Any help appreciated.
Consider the regular expressions R1 = (01)*(0*1*)(10) and R2 = (101)(01). Which of following is true?
10 in R1 and 101 R2
10 in R1 and 1000 R2
010 in R1 and 100 R2
010 not in R1 and 100 not in R2