I have a question. All finite languages can be decribed using a regular expression?
Asked
Active
Viewed 458 times
0
-
What do you think? Have you tried proving this or looking for a counterexample? – roctothorpe Apr 07 '18 at 01:44
-
I am looking for a counterexample. – kevin parra Apr 08 '18 at 12:13
1 Answers
1
Suppose that a finite language consists of words $w_1, w_2, \dots, w_n$.
Then what do you think the regular expression ^(w1 | w2 | ... | wn)$
matches?

orlp
- 13,386
- 1
- 24
- 40
-
ohhh i see... But that expression say nothing about the generation of the words on the language... but this is another point. – kevin parra Apr 08 '18 at 12:16