I can't think of an example of a non-regular language $L$ such that $L^*$ is regular. . Any help ?
Asked
Active
Viewed 1,803 times
1 Answers
1
Define $L=\{a^nb^n|n\in \mathbb N\}\cup \{a,b\}$
It's not hard to see that while $L$ is not regular, $L^*=\Sigma^*$.
R B
- 2,644
- 17
- 35