fixed up exportation regex