Got the answer to this. Turns out that I'm trying to do something called a local backreference, and the solution is only portable to POSIX 1003.2+ compliant OSes. More on it can be found here.
Note, the bind name /N$ (where 0 < N < 9) did not work for me, but \N did.
Anyways, hope this...