I was reading this question; regarding whether $L=A\cup B$ is nonregular if $A$ is. As is rightly pointed out in that answer, there is no simple rule. But what if we imposed the following conditions:
- $A \cap B=\emptyset$
- $A\neq B^C$ and $B \neq A^C$
The examples I know of where $L$ fails to be nonregular is where $B$ somehow "makes up" for the nonregularity of $A$, such as setting $B$ as the language of all strings, or the complement of $A$.
But with these new conditions, is there any way for $B$ to turn the union $A\cup B$ into a regular language?
EDIT: Actually, if $L=\{0^n1^m|n,m\geq 0\}$, then
$$L=\{0^n1^n|n\geq 0\} \cup \{0^n1^m|n\neq m\}$$
and both the conditions above are fulfilled. So $L$ can still be regular. Sorry :)