Yeah, this is true for the entire \d family: trailing garbage in the command name doesn't really matter. I'm not excited about trying to tighten that up; we'd likely get more complaints than kudos.
Ok, when I saw this problem, I also suspected that it was the original design,