closed by
537 views

1 Answer

0 votes
0 votes
Actually this a very absurd question.

Notice that option C is the very same grammer.

Also to note that

(a+b)*(a+b+e) = (a+b)*

Therefore the minimal form of the RegEx will be (a+b)*a

Clearly First option is not the same,

Option b is the same as (a+b)*a because (e+a+b)+ can generate all strings over a,b and also e. Therefore equals to (a+b)*.

Option C is the same .. thats very funny :D

Related questions

0 votes
0 votes
1 answer
2
0 votes
0 votes
1 answer
3