I'd probably use `tr` here instead of `gsub`, but that's just taste.