Fixed problem with grabbing tag names regex