matchLength not used at all
regexReplaceMatch non-matching test
regexReplaceMatch non-matching test found a bug! fixed empty-matches.
Merge pull request #11 from ghidalgo3/master

Added test coverage, uncovered a bug