add table summary for regex