-3

How to construct regular expression for language L={a,b,c} which contain all words starts with bab and ends with babc?

1 Answers1

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
  • 54
  • 6
  • Yes, thank you Satyam Bhardwaj, I write answer like this, but prof didn't admit....He comented about overlap bab with babc....So I need help.... – Viktorija Postolova Jun 08 '20 at 16:49