Agreed. A list would be excellent. Just by looking at the code, you obviously supplement a % to the input, thus if a user types %etc it would return %%etc. Probably the reason mountaindew received no feedback without selecting the wildmatch option. Because it would search %etc out of %%etc when selecting wildmatch. A misfit in the documentation of this script.
Overall, to users of this script, you should not include a % when typing in the variable. And to the author, please back that up with some error checking ($iif($left($did($dname,1).text != %,$+(%,$did($dname,1).text),$did($dname,1).text)) or include it in the documentation. kthx.