Simplify exercise
Term.regex() can be treated by RationalExpression.regex()
Update rational expression unit test
Remove unnecessary extras to regex
Remove unnecessary extras to regex
Add conditions to final hint
Remove debugging
Merge pull request #66520 from petercollingridge/add-rat-exp-3

Improve consistency of rational expression module