Revert "Fixing pattern match to replace only the first matched group."

This reverts commit e23ad66699c19b434fdd8a5ffdf8c6c87b2db7ea.
Fix for https://github.com/koush/ion/issues/388#issuecomment-62581926