Fixed a small bug caused by forgetting to delete some go next to special single-characters. Also added line counting for regex annotations.