If a is an array, ${a[*]//%pattern/replacement} and
${a[*]//#pattern/replacement} don't work. Both do nothing. The single-slash
versions ${a[*]/%pattern/replacement} and ${a[*]/#pattern/replacement} work
as expected.
One could argue about using // in this context, but anyway the behavior is
inconsistent in 2 ways:
- The double-slash versions worked in 3.1.
- The double-slash versions work in 3.2 if the pattern does _not_ start
with % or #.