added prototype flattening of regular expression languages to one humongous regular expression for experimentation purposes