Regular expressions are converted to inverse Polish