Consider the regular expression ((AB)* (C(A*) |B))*
Give three words (over the alphabet {A,B,C}) that are in the language of this expression, and three that are not (and label them accordingly).
Translate the language into an NFA.
I got ABABCAAB, ABABCAAAAB and ABCABABCABABCAB for words that are in the language and :
ABC, ABCCAB and ABCCABBB for words that are not in the language. Am i correct? also not sure which language is being referred to , to translate into an NFA
thank you all , i see where i went wrong
ABCis actually a word in your language. So are the rest of your examples for that matter... For an example of a word that actually is not included in your language, considerBA. – JMoravitz Aug 02 '19 at 13:06(AB)^*(C(A^)~|~B)~~)^$. It is zero occurrences of $AB$ followed by the second option of the second term. – JMoravitz Aug 02 '19 at 13:15