Fix regexp so it only includes abstract text for tooltips.