generate random regular exprs