issue#2 emit "$&" properly
Merge pull request #3 from atmin/master

issue#2 emit "$&" properly - thanks to github.com/atmin