danielstjules/Stringy — pull request #21 by Bilge (2014-02-14 01:31:27+00:00)
Title: Optimized replace() and collapseWhitespace() by reusing regexReplace().

Fixed bug in replace() where replacement string was being escaped with preg_quote() and added matching tests.