$L =$ {$(01)^a$$x(10)^b$ | $a=b, b > 0, x∈${$0,1$}*}
This is a question where according to the key, yes, the language is regular, but no explanation is given. However, if $a=b$, then this can be rewritten as:
$L =$ {$(01)^n$$x(10)^n$ | $n > 0, x∈${$0,1$}*}
And $L =$ {$(01)^n$$(10)^n$ | $n > 0$} is a famous example of an expression which is NOT regular, so how on earth could inserting the $x$ in between the first two exponents allow it to be regular? I'm just not seeing any regular expression that could describe this, which is necessary for a language to be regular. What am I missing?