issue#2 emit "$&" properly