Question: Match the regular expression on the left with the text it matches on the right. Assign each text to a single regex and do not

Match the regular expression on the left with the text it matches on the right. Assign each text to a single regex and do not reuse answers (i.e. Find a one-to-one correspondence from left to right). These should all be considered in a full match sense, no substring matches.
Re1: /AB?B?C?A/
Re2: /A+B+C+D+E+/
Re3: /AB?C+E/
Re4: /B*C[2-6]/
Re5: /A..C/
Re6: /^A[BC]OD[EF]$/
Re7: /ABC\d/
Re8: /(A|B)(B|C)[^D](C|D)$/
Re9: /[A-C][-AC][A-C]/
Re10: /[^A-C][-AC][A-C]/
Txt1: ABBA
Txt2: ABC1
Txt3: ABCD
Txt4: ABCDE
Txt5: ABDC
Txt6: ABODE
Txt7: ACE
Txt8: BBC6
Txt9: CAB
Txt10: DAB
Match the regular expression on the left with the

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!