Fix regex for dashes in name and project