fix cap growth in sym-table
add var table in regexp