These 2 expressions are same but give different output in the Regular Expression Gym
Input : b+ab*a+(b+$+ab*a)(b+ab*a)*(b+$+ab*a)
Gives: (b+ab*a)*
but Input b+ab*a+(b+ab*a)(b+ab*a)*(b+ab*a)
does not simplify at all.
I believe output 1 is the correct answer but I wanted to double-check this