cocos2d/cocos2d-x — pull request #7791 by xiangxw (2014-08-15 03:52:24+00:00)
Title: fix replaceAll()

This function will never return if new_value contains old_value.
For example, old_value = "'", new_value = "''".