made the - regex global

forgot to make the /-/ regex global when i removed the extraneous replace.