I was worried that the .* could, in pathological circumstatnces, get expanded by the shell to a filename.
Now I'm confused:
$ n=2
$ VAR=a
$ mkdir -p 2s/.foo/a
$ touch 2s/.foo/a/bar
$ ls ${n}s/.*/${VAR}/
bar
$ ls "${n}s/.*/${VAR}/"
ls: 2s/.*/a/: No such file or directory
I suppose only variables are expanded in double quotes ...