In PR #57 was implemented a nice generator that converts a regular expression to rex code.
In this task, we want to remove parsing work from our hands and use the parser.
Example usage: https://go.dev/play/p/RkRAXCl1O6G
We can follow the same style as in String() method