Consider the following context sensitive productions.
$$\begin{align}S &\to bSb \mid AcA\\
Ab &\to A\\
Ab &\to b\\
bA &\to b\\
bA &\to A
\end{align}$$
$G$ be a grammar given all the rules except the last, $G'$ be the grammar by all the rules mending the last.
Among $G$ and $G'$ which one is regular, which one is not?
-----------------------------------------------------------------------------------------------------------------------------------
I told both regular, which is wrong according to ans. If one is regular ,can another be non regular?