fix regexp so it doesn't falsely catch lines which start with variables named similarly to association types