fix "special directory" path parser

this feature actually hadn't been tested yet.
I noticed that the regex needed a minor tweak.
..oops