YasserAsmi/regexp — pull request #1 by DiggidyDave (2014-11-22 08:38:15+00:00)
Title: Fix substring position update logic in capReplace

- previous logic adjusted all substrings "after" the positions of
the updated substring (in terms of position in the array);
new logic adjusts all substrings after the positions in terms
of position in the string itself