Remove extra dash from reg-ex.