Let's have a language $L=\{\omega\in\{a,b,c\}^* | \omega $ contains $ab$ and does not contain $ba\}$ make a regular expression for this language.
I've ended up with this one $$(a^*(b^*+(cc^{*}a^*))^*)^*ab(b^*+(cc^{*}a^*))^*$$
Is this correct? Does it generate all words containing $ab$ and not containing $ba$ ?