0 0 votes Are both regular expression same .a*(ba*)* =(a+b)*ba(a+b)* if not then why???? Theory of Computation + – altamash 485 views answer comment Share Follow Print 0 reply Please log in or register to add a comment.
0 0 votes Both are not equivalent.. Because using first regular expression we can generate any string of alphabet a & b. But the constraint with second regular expression is that all the string must have ba as its substring.. That's why both are not equivalent!! Hope it helps!! Please Comment if there is anything wrong in my explanation!! vg653 answered Dec 27, 2018 vg653 comment Share Follow 0 reply Please log in or register to add a comment.