Fixes #68840 reported by Guglielmo Bondioni, where a2p incorrectly
translated sub(/foo/,"bar/baz") into s/foo/bar/baz/.
for (t = tmp2str->str_ptr, d=tokenbuf; *t; d++,t++) {
if (*t == '&')
*d++ = '$' + (char)128;
- else if (*t == '$')
+ else if (*t == '$' || *t == '/')
*d++ = '\\' + (char)128;
*d = *t + 128;
}