Okay, so I come across a question: What language is represented by this regular expression:
$$(((a*b)b) \cup b)$$
An example given prior to this is: L(anguage) = $\{w | w \in \{0,1\}\}$
L(anguage) = $0*10*010*(10* \cup E)$
I am completely lost with this o.o The only thing i can think of here is... $L = \{ab, b, bb\}$ But that is a wild guess.
You are trying to understand the regular expression $(((a^∗b)b)∪b)$ = $(a^*bb) \cup b)$. If we split this expression up we get two expressions $a^*bb$ and $b$ with the union operator. As you know the union operator is "or", so our expression can be formulated as $a^*bb$ or $b$. So L(Expression) = {w|w $\in a^*bb$ or $w \in b$} ("The language of E, with E our expression, are all strings that are in the language generated by the expression $a^*bb$ or the expression $b$.)
Now the only string that is generated by the expression $b$ is $b$ itself, so we have our first word. Now to look at the expression $a^*bb$, $a^*$ implies zero or more a's and $bb$ just implies two b's. So we can finally define L(E) = {w|w has zero or more a's followed by two b's or w is b}. Example strings are $abb, bb, aaaabb, b, ...$ but not $bbb, ba, ...$. Hope this makes it a bit more clear.