Added limits to the replace code so it does not count all of the matching
patterns in a string, only the number needed by the max limit.
1 file changed