issue#2 emit "$&" properly

This fixes issue#2 for me.