How to construct regular expression for language L={a,b,c} which contain all words starts with bab and ends with babc?
Asked
Active
Viewed 60 times
1 Answers
0
RE-(bab)star[a+b+c]star(babc)star..well you just need to care about the starting symbols and the ending symbols. And that's it. Refer to the arithmetic rules of regular expressions.
Ramesses2
- 44
- 6