- build ast using group/table capture