Question: Build a Regular expression , assume that the language is {a,b} Build a regular expression that accepts all words EXCEPT baa, ab, and abb. These

Build a Regular expression , assume that the language is {a,b}

Build a regular expression that accepts all words EXCEPT baa, ab, and abb.

These strings should have FULL matching

a

b

aa

bb

ba

aaa

bbb

bba

aab

aba

bab

abba

baba

abab

abbba

babababaabab

These strings should NOT have FULL matching:

baa

ab

abb

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 Databases Questions!