Fixing issue with double dollars in replace string
behaves like javascript itself
Implementing ideas based on nj's feedback
Implementing function parseDollars
Fixed a bug where subexpressions like "C:/Program Files (x86)/Git/bin/sh.exe"1 weren't accepted
Adding unit tests
Fixing nits based on nj's feedback
Adding test to ensure correct behaviour with $0
Adding comment to explain why we escape $ in the regexp
Adding some unit tests for "Replace All"
Changing unnecessary $$, removing comment
Merge pull request #5840 from SAPlayer/replace-double-dollar

Fixing issue with double dollars in replace string