Fixed infinite loop when replacement file contains "$&" characters
Merge pull request #21 from druide/master

Fixed infinite loop when replacement file contains "$&" characters